cherry-pick : server: graceful shutdown tikv-impl (#18930)#19016
Conversation
close tikv#17221 When a SIGTERM signal is received, TiKV tells PD it's stopping by StoreHeartbeat. PD then try to move all the leaders from that TiKV instance before it fully shuts down. Signed-off-by: hujiatao0 <hhjjtt110@gmail.com>
|
Hi @hujiatao0. Thanks for your PR. I'm waiting for a tikv member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
|
/ok-to-test |
Signed-off-by: hujiatao0 <hhjjtt110@gmail.com>
|
cc @overvenus please review this PR |
v01dstar
left a comment
There was a problem hiding this comment.
Is the target branch correct?
Yes, The branch is cited by https://tirelease.pingcap.net/home/hotfix/20250926-8.5.0-GTOC-7728 |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cfzjywxk, hbisheng, overvenus 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 |
3c52ecf
into
tikv:release-8.5-20250122-v8.5.0
close #17221
When a SIGTERM signal is received, TiKV tells PD it's stopping by StoreHeartbeat. PD then try to move all the leaders from that TiKV instance before it fully shuts down.
What is changed and how it works?
Issue Number: Close #17221
What's Changed:
Related changes
pingcap/docs/pingcap/docs-cn:Check List
Tests
Side effects
Release note