balance, proxy: fix TiDB CPU imbalance when balance.policy="resource" (#1173)#1174
balance, proxy: fix TiDB CPU imbalance when balance.policy="resource" (#1173)#1174ti-chi-bot wants to merge 2 commits into
Conversation
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
|
This cherry pick PR is for a release branch and has not yet been approved by triage owners. To merge this cherry pick:
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. |
|
@djshow832 This PR has conflicts, I have hold it. |
|
[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 |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## release-1.3 #1174 +/- ##
==============================================
Coverage ? 65.67%
==============================================
Files ? 125
Lines ? 12342
Branches ? 0
==============================================
Hits ? 8106
Misses ? 3695
Partials ? 541
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This is an automated cherry-pick of #1173
What problem does this PR solve?
Issue Number: close #1172
Problem Summary:
ScoreBasedRoute.updateGroups().What is changed and how it works:
physicalOwnerandscoreOwnerto thebackendWrapperso that it can always find the right backend.redirectingBackendIDbecause it's unnecessary now.BackendConnManager.redirectResCh.BackendConnManager.tryRedirect.Check List
Tests
Notable changes
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.