-
Notifications
You must be signed in to change notification settings - Fork 722
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: support range for schedulers #1791
Conversation
565fbc5
to
d5b0f15
Compare
d5b0f15
to
058ba9f
Compare
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.
the rest LGTM
@@ -43,6 +45,7 @@ func init() { | |||
} | |||
conf.Limit = limit | |||
} | |||
conf.Name = shuffleHotRegionName |
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.
does it need ranges just like shuffle_ragion
and shuffle_leader
?
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.
I'm not sure if the hot region related schedulers should support the range. /cc @nolouch
96bafaf
to
fdd9aeb
Compare
/run-all-tests |
d133e8a
to
6be19ab
Compare
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
6be19ab
to
2172e9e
Compare
/run-all-tests |
Codecov Report
@@ Coverage Diff @@
## master #1791 +/- ##
=========================================
Coverage ? 77.49%
=========================================
Files ? 164
Lines ? 16586
Branches ? 0
=========================================
Hits ? 12854
Misses ? 2717
Partials ? 1015
Continue to review full report at Codecov.
|
Signed-off-by: Ryan Leung <rleungx@gmail.com>
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.
rest LGTM
Your auto merge job has been accepted, waiting for 1894 |
/run-all-tests |
What problem does this PR solve?
Currently, the schedulers don't support the key range. e.g. Given a key range, the scheduler only works in this range. And thus to make the scheduler more flexible, we need to support range for schedulers.
What is changed and how it works?
This PR supports range for schedulers. It should be reviewed after
Check List
Tests
edit: