-
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
tikv: fix out-of-index in split-region #12265
tikv: fix out-of-index in split-region #12265
Conversation
/run-all-tests |
Codecov Report
@@ Coverage Diff @@
## master #12265 +/- ##
===========================================
Coverage 81.2292% 81.2292%
===========================================
Files 454 454
Lines 99506 99506
===========================================
Hits 80828 80828
Misses 12885 12885
Partials 5793 5793 |
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 |
@lysu need pick to release-3.0, I encounter this with 3.0.5 and the latest release-3.0 still not fixed. |
/run-cherry-picker |
@lysu need cherry-pick to 3.1? |
What problem does this PR solve?
simple fix "out of index" error when split reponse's region num be zero and want to write info log.
What is changed and how it works?
check region num and avoid out of index error
Check List
Tests
Code changes
Side effects
Related changes
Release note
/cc @breeswish
This change is