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

vindexes: alt approach for lookup sorted inserts #4965

Merged
merged 1 commit into from
Jun 27, 2019

Conversation

sougou
Copy link
Contributor

@sougou sougou commented Jun 27, 2019

Looks like too many callers are affected if the passed in values
are sorted by the Create function. Instead of changing all
the call sites, it's better that Create sorts a copy of the
values and leave the external behavior unchanged.

Signed-off-by: Sugu Sougoumarane ssougou@gmail.com

Looks like too many callers are affected if the passed in values
are sorted by the `Create` function. Instead of changing all
the call sites, it's better that `Create` sorts a copy of the
values and leave the external behavior unchanged.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Copy link
Collaborator

@mpawliszyn mpawliszyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was trying to avoid iterating over the inserts again. But if you are fine with it I'm fine with it too. It is the insert rather than the select path anyway.

@sougou sougou merged commit e6dd092 into vitessio:master Jun 27, 2019
@sougou sougou deleted the ss-alt-vindex-sort branch June 27, 2019 21:08
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