affinity: use isRegionPlacementRuleSatisfiedWithBestLocation instead of IsRegionReplicated (#10192)#10741
Conversation
|
@HunDunDM This PR has conflicts, I have hold it. |
|
@ti-chi-bot: ## If you want to know how to resolve it, please read the guide in TiDB Dev Guide. 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 ti-community-infra/tichi repository. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 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 |
|
@HunDunDM please fix conflict |
Signed-off-by: HunDunDM <hundundm@gmail.com>
Signed-off-by: HunDunDM <hundundm@gmail.com>
…of IsRegionReplicated (tikv#10192) Signed-off-by: HunDunDM <hundundm@gmail.com>
|
/cherry-pick-invite |
|
@HunDunDM Please accept the invitation then you can push to the cherry-pick pull requests. |
32d0274 to
0d6ceb4
Compare
|
/unhold |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## release-8.5 #10741 +/- ##
===============================================
+ Coverage 77.93% 78.08% +0.15%
===============================================
Files 484 488 +4
Lines 65594 66959 +1365
===============================================
+ Hits 51119 52288 +1169
- Misses 10703 10827 +124
- Partials 3772 3844 +72
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
@rleungx PTAL |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lhy1024, rleungx The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This is an automated cherry-pick of #10192
What problem does this PR solve?
Issue Number: Ref #10149
What is changed and how does it work?
Check List
Tests
Related changes
Release note
Summary by CodeRabbit
New Features
Bug Fixes
Metrics
Tests