-
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
Conversation
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
Do we need to cherry-pick this to 2.1, 3.0, 3.1, 4.0 ? |
/run-unit
yes |
/run-unit-test |
/run-unit-test |
/run-all-test |
Codecov Report
@@ Coverage Diff @@
## master #15898 +/- ##
================================================
- Coverage 80.6622% 80.5019% -0.1603%
================================================
Files 504 504
Lines 136810 135701 -1109
================================================
- Hits 110354 109242 -1112
+ Misses 17972 17948 -24
- Partials 8484 8511 +27 |
/merge |
/run-all-tests |
/run-cherry-picker |
1 similar comment
/run-cherry-picker |
Signed-off-by: sre-bot <[email protected]>
cherry pick to release-2.1 in PR #16198 |
Signed-off-by: sre-bot <[email protected]>
cherry pick to release-3.0 in PR #16199 |
Signed-off-by: sre-bot <[email protected]>
cherry pick to release-3.1 in PR #16200 |
cherry pick to release-4.0 in PR #16201 |
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