-
Notifications
You must be signed in to change notification settings - Fork 742
scheduler: move hot region should be splitted if it's size is too large . (#6281) #6371
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
scheduler: move hot region should be splitted if it's size is too large . (#6281) #6371
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
…ge . (tikv#6281) * add createSplitOperator Signed-off-by: bufferflies <1045931706@qq.com> * consider string nil Signed-off-by: bufferflies <1045931706@qq.com> * add unit test for split buckets Signed-off-by: bufferflies <1045931706@qq.com> * enable split in hot region Signed-off-by: bufferflies <1045931706@qq.com> * lint Signed-off-by: bufferflies <1045931706@qq.com> * add stringer for resourceTy Signed-off-by: bufferflies <1045931706@qq.com> * remove region keys and hot split keys in additional info Signed-off-by: bufferflies <1045931706@qq.com> * pass unit test Signed-off-by: bufferflies <1045931706@qq.com> * address comments Signed-off-by: bufferflies <1045931706@qq.com> * remove one case from TestLoadKeyspaceGroupsAssignment Signed-off-by: bufferflies <1045931706@qq.com> * revert TestLoadKeyspaceGroupsAssignment Signed-off-by: bufferflies <1045931706@qq.com> --------- Signed-off-by: bufferflies <1045931706@qq.com> Co-authored-by: Ryan Leung <rleungx@gmail.com> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com> fix flaky key for TestLoadKeyspaceGroupsAssignment Signed-off-by: bufferflies <1045931706@qq.com>
d23ad1a
to
8a03d9f
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## release-7.1 #6371 +/- ##
===============================================
- Coverage 75.05% 74.86% -0.20%
===============================================
Files 408 408
Lines 40481 40546 +65
===============================================
- Hits 30384 30354 -30
- Misses 7445 7532 +87
- Partials 2652 2660 +8
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 39 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
/merge |
@bufferflies: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This pull request has been accepted and is ready to merge. Commit hash: 43016e4
|
/merge |
@bufferflies: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This is an automated cherry-pick of #6281
What problem does this PR solve?
Issue Number: Ref #6328,Close tikv/tikv#14333, ref #tikv/tikv#14214, ref tikv/tikv#14135
What is changed and how does it work?
If the moved region's size is bigger than the
max-movable-hot-peer-size
, it will be splited by hot buckets.It will brings two benefits:
split-bucket-scheduler
The
split-bucket-scheduler
will be removed from the default listCheck List
Tests
This PR:

master:

Code changes
Side effects
Related changes
Release note