Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorder keyspace ids when reordering bulk lookup table inserts. #4919

Merged
merged 1 commit into from
Jun 10, 2019

Conversation

mpawliszyn
Copy link
Collaborator

Otherwise bulk insert ignore queries will fail as the validate assumes
the values and ids are still in the same order.

Signed-off-by: Michael Pawliszyn mikepaw@squareup.com

Otherwise bulk `insert ignore` queries will fail as the validate assumes
the values and ids are still in the same order.

Signed-off-by: Michael Pawliszyn <mikepaw@squareup.com>
@mpawliszyn mpawliszyn requested review from tirsen and sougou June 10, 2019 15:45
@mpawliszyn
Copy link
Collaborator Author

Thanks to @eeSeeGee for figuring the bug out.

@mpawliszyn
Copy link
Collaborator Author

This bug only manifests when you have A) INSERT IGNORE B) A lookup C) Multiple rows

@mpawliszyn mpawliszyn merged commit d501715 into vitessio:master Jun 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants