-
Notifications
You must be signed in to change notification settings - Fork 720
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: refactor hot region scheduler #4488
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. |
Codecov Report
@@ Coverage Diff @@
## master #4488 +/- ##
==========================================
- Coverage 74.60% 74.56% -0.05%
==========================================
Files 287 287
Lines 27973 27946 -27
==========================================
- Hits 20869 20837 -32
- Misses 5219 5223 +4
- Partials 1885 1886 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Would you like to add more descriptions? |
You can take a look at the PR description, this draft will be ready to review once #4424 is merged. |
a2f260d
to
6d33f0f
Compare
6d33f0f
to
4348d02
Compare
3c1ce48
to
c47f80a
Compare
server/statistics/store_load.go
Outdated
@@ -158,6 +153,11 @@ func (s *StoreSummaryInfo) AddInfluence(infl *Influence, w float64) { | |||
s.PendingSum.Count += infl.Count * w | |||
} | |||
|
|||
// IsTiFlash returns if the store is TiFlash. |
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.
// IsTiFlash returns if the store is TiFlash. | |
// IsTiFlash returns true if the store is TiFlash. |
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
ref tikv#3879 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>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
22a7bb3
to
3f2d180
Compare
/merge |
@rleungx: 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: 3f2d180
|
What problem does this PR solve?
Ref #4477. This PR can be reviewed once #4424 is merged.
What is changed and how it works?
This PR does the following changes:
xxxPriorityIsBetter
clearPendingInfluence
to test packageCheck List
Tests
Release note