-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
mocktikv: avoid sorting multiple times with unstable order (#15898) #16201
mocktikv: avoid sorting multiple times with unstable order (#15898) #16201
Conversation
/run-all-tests |
/run-all-tests |
1 similar comment
/run-all-tests |
/rebuild |
2 similar comments
/rebuild |
/rebuild |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Your auto merge job has been accepted, waiting for 16184 |
/run-all-tests |
/run-all-tests |
@sre-bot merge failed. |
cherry-pick #15898 to release-4.0
What problem does this PR solve?
Issue Number: close #15767
Problem Summary:
The all tuples in TopN doesn't to be sorted multiple times but resulting into unstable order, so Next() does not fetch all tuples in the same order.
What is changed and how it works?
after all tuples from its child are fetched, sort them immedrately. Then fetch data from the ordered data.
Proposal: xxx
What's Changed:
How it Works:
Related changes
Check List
Tests
Release note