-
Notifications
You must be signed in to change notification settings - Fork 742
[cp-to-8.5] cluster: return NodeState in the response of StoreHeartbeat. (#8991) #9498
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
Conversation
…at. (tikv#8991) Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>
Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>
/cc @rleungx @bufferflies PTAL, thx |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bufferflies, rleungx 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 |
[LGTM Timeline notifier]Timeline:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## release-8.5 #9498 +/- ##
===============================================
- Coverage 75.62% 75.54% -0.08%
===============================================
Files 463 463
Lines 72470 72471 +1
===============================================
- Hits 54806 54751 -55
- Misses 14166 14210 +44
- Partials 3498 3510 +12
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
/check-cherry-pick-approved |
/cherry-pick-approved |
This is a manual cherry-pick of #8991
What problem does this PR solve?
Issue Number: Close #9001, Ref tikv/tikv#18107, Ref tikv/tikv#18042
What is changed and how does it work?
This PR mainly contains the cooperative works on mitigating the performance impacts when scaling.
In this PR, it returns the NodeState in StoreHeartbeatResponse to store nodes,
to notify the corresponsive store to handle it if necessary.
Check List
Tests
Code changes
Side effects
Related changes
pingcap/docs
/pingcap/docs-cn
:pingcap/tiup
:Release note