scheduler: use move-hot-write-leader operator (#7852)
This is an automated cherry-pick of #7852
What problem does this PR solve?
Issue Number: Close https://github.com/tikv/pd/issues/7848
What is changed and how does it work?
Check List
Tests
- Unit test
- [x] manual test with 6 tikv
- tpcc
- oltp_read_write
- oltp_write_only
- oltp_update_index
- oltp_update_non_index
- oltp_insert
- tpcc
Release note
None.
[REVIEW NOTIFICATION]
This pull request has been approved by:
- HuSharp
- lhy1024
To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.
The full list of commands accepted by this bot can be found here.
Reviewer can indicate their review by submitting an approval review. Reviewer can cancel approval by submitting a request changes review.
Codecov Report
Attention: Patch coverage is 90.90909% with 4 lines in your changes are missing coverage. Please review.
Project coverage is 74.51%. Comparing base (
7eb188c) to head (0c2952d). Report is 1 commits behind head on release-7.5.
:exclamation: Current head 0c2952d differs from pull request most recent head 98a4645
Please upload reports for the commit 98a4645 to get more accurate results.
Additional details and impacted files
@@ Coverage Diff @@
## release-7.5 #8144 +/- ##
===============================================
- Coverage 74.62% 74.51% -0.11%
===============================================
Files 444 444
Lines 48237 48255 +18
===============================================
- Hits 35996 35957 -39
- Misses 9056 9101 +45
- Partials 3185 3197 +12
| Flag | Coverage Δ | |
|---|---|---|
| unittests | 74.51% <90.90%> (-0.11%) |
:arrow_down: |
Flags with carried forward coverage won't be shown. Click here to find out more.
/merge
@lhy1024: It seems you want to merge this PR, I will help you trigger all the tests:
/run-all-tests
You only need to trigger /merge once, and if the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes.
If you have any questions about the PR merge process, please refer to pr process.
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.