-
Notifications
You must be signed in to change notification settings - Fork 1.2k
v8.5.5: add config for graceful shutdown #21173
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
base: release-8.5
Are you sure you want to change the base?
Conversation
Signed-off-by: hujiatao0 <hhjjtt110@gmail.com>
|
|
| + 默认值:3s | ||
| + 最小值:1s | ||
|
|
||
| ### `graceful-shutdown-timeout` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ### `graceful-shutdown-timeout` | |
| ### `graceful-shutdown-timeout` <span class="version-mark">从 v8.5.5 版本开始引入</span> |
tikv-configuration-file.md
Outdated
|
|
||
| ### `graceful-shutdown-timeout` | ||
|
|
||
| + graceful shutdown的超时时长,达到该时间后未完成转移的leader会跳过转移,节点直接进入停机流程。该值为0s时表示不启用graceful shutdown功能。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| + graceful shutdown的超时时长,达到该时间后未完成转移的leader会跳过转移,节点直接进入停机流程。该值为0s时表示不启用graceful shutdown功能。 | |
| + TiKV 优雅关闭 (graceful shutdown) 的超时时长。 | |
| + 当该值大于 `0s` 时,如果关闭 TiKV 节点,TiKV 在该超时时间内会尽量将其上的 leader 副本转移到其他 TiKV 节点,然后再关闭。若达到该超时时间后仍有 leader 未完成转移,TiKV 将跳过剩余 leader 的转移,直接进入关闭流程。 | |
| + 当该值为 `0s` 时,表示不启用 TiKV 的 graceful shutdown 功能。 |
Signed-off-by: hujiatao0 <hhjjtt110@gmail.com>
|
[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 |
First-time contributors' checklist
What is changed, added or deleted? (Required)
Which TiDB version(s) do your changes apply to? (Required)
Tips for choosing the affected version(s):
By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.
For details, see tips for choosing the affected versions (in Chinese).
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?