-
Notifications
You must be signed in to change notification settings - Fork 728
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 changing batch for slow score scheduler #8888
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8888 +/- ##
==========================================
+ Coverage 76.28% 76.32% +0.04%
==========================================
Files 465 465
Lines 70512 70535 +23
==========================================
+ Hits 53792 53838 +46
+ Misses 13372 13346 -26
- Partials 3348 3351 +3
Flags with carried forward coverage won't be shown. Click here to find out more. |
/retest |
1 similar comment
/retest |
a6d91be
to
84eb725
Compare
/cc @LykxSassinator |
@rleungx: GitHub didn't allow me to request PR reviews from the following users: LykxSassinator. Note that only tikv members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
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 kubernetes-sigs/prow repository. |
@@ -49,6 +49,7 @@ type evictSlowStoreSchedulerConfig struct { | |||
// Duration gap for recovering the candidate, unit: s. | |||
RecoveryDurationGap uint64 `json:"recovery-duration"` | |||
EvictedStores []uint64 `json:"evict-stores"` | |||
Batch int `json:"batch"` |
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.
Should we add a TODO
note here, reminding that this PR might also need to be applied to evict-slow-trend-scheduler
in future work if necessary?
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.
done
Signed-off-by: Ryan Leung <[email protected]>
Signed-off-by: Ryan Leung <[email protected]>
Signed-off-by: Ryan Leung <[email protected]>
Signed-off-by: Ryan Leung <[email protected]>
84eb725
to
02ea6ec
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.
LGTM
@LykxSassinator: adding LGTM is restricted to approvers and reviewers in OWNERS files. In response to this:
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 kubernetes-sigs/prow repository. |
[LGTM Timeline notifier]Timeline:
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lhy1024, LykxSassinator The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@okJiang PTAL |
What problem does this PR solve?
Issue Number: ref #7156
What is changed and how does it work?
After this PR, we can change the batch size through pd-ctl:
Check List
Tests
Release note