Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions tikv-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,12 @@ TiKV 配置文件比命令行参数支持更多的选项。你可以在 [etc/con
+ 默认值:3s
+ 最小值:1s

### `graceful-shutdown-timeout`

+ graceful shutdown的超时时长,达到该时间后未完成转移的leader会跳过转移,节点直接进入停机流程。该值为0s时表示不启用graceful shutdown功能。
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
+ graceful shutdown的超时时长,达到该时间后未完成转移的leader会跳过转移,节点直接进入停机流程。该值为0s时表示不启用graceful shutdown功能
+ TiKV 优雅关闭 (graceful shutdown) 的超时时长
+ 当该值大于 `0s` 时,如果关闭 TiKV 节点,TiKV 在该超时时间内会尽量将其上的 leader 副本转移到其他 TiKV 节点,然后再关闭。若达到该超时时间后仍有 leader 未完成转移,TiKV 将跳过剩余 leader 的转移,直接进入关闭流程。
+ 当该值为 `0s` 时,表示不启用 TiKV 的 graceful shutdown 功能。

+ 默认值:20s
+ 最小值:0s

### `concurrent-send-snap-limit`

+ 同时发送 snapshot 的最大个数。
Expand Down