scheduler: evict hot leader first#9275
Conversation
Signed-off-by: Ryan Leung <rleungx@gmail.com>
|
Skipping CI for Draft Pull Request. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #9275 +/- ##
==========================================
- Coverage 76.05% 76.03% -0.03%
==========================================
Files 470 475 +5
Lines 73051 74211 +1160
==========================================
+ Hits 55562 56424 +862
- Misses 14045 14260 +215
- Partials 3444 3527 +83
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
@rleungx could you please share more background about this change? |
Signed-off-by: Ryan Leung <rleungx@gmail.com>
|
@rleungx we also have few ideas on how to handle hot regions especially in stale reads/follower reads environment. We should collaborate on this feature. |
|
@Tema @mittalrishabh We are going to resolve #8949. This PR is just a draft now and is used for internal testing. |
Signed-off-by: Ryan Leung <rleungx@gmail.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Signed-off-by: Ryan Leung <rleungx@gmail.com>
|
@rleungx: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…-fix Signed-off-by: Ryan Leung <rleungx@gmail.com> # Conflicts: # pkg/schedule/coordinator.go # pkg/schedule/filter/status.go # pkg/schedule/plan/status.go # pkg/schedule/schedulers/evict_leader.go # pkg/schedule/schedulers/evict_leader_test.go # pkg/schedule/schedulers/evict_slow_store.go # pkg/schedule/schedulers/evict_slow_store_test.go # pkg/schedule/schedulers/evict_slow_trend.go # pkg/statistics/collector.go
Signed-off-by: Ryan Leung <rleungx@gmail.com>
What problem does this PR solve?
Issue Number: Close #8949
What is changed and how does it work?
Check List
Tests
Release note