-
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
tikvclient: Add endKey param to Scanner (#8178) #8309
tikvclient: Add endKey param to Scanner (#8178) #8309
Conversation
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
LGTM |
/run-all-tests tikv=release-2.1 pd=release-2.1 tidb-test=release-2.1 |
@zz-jason it's 2.0, not 2.1 |
/run-all-tests tikv=release-2.0 pd=release-2.0 tidb-test=release-2.0 |
@winkyao PTAL thanks! |
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
/run-all-tests tikv=release-2.0 pd=release-2.0 tidb-test=release-2.0 |
What problem does this PR solve?
This PR cherry-picks #8178 (d125958) to release-2.0 branch. So the end_key param will be supported in release-2.0 branch. This helps fixing a bug that scanning out-of-bound may cause TiKV panic.
This PR requires tikv/tikv#3780 and #8308 be merged first.
What is changed and how it works?
This PR cherry-picks #8178 (d125958) to release-2.0 branch.
Check List
Tests
Code changes
Side effects
Related changes
This change is