Skip to content

Commit 5d9eb98

Browse files
authored
v8.5.5: add config for graceful shutdown (#22158)
1 parent 157a642 commit 5d9eb98

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tikv-configuration-file.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,14 @@ This document only describes the parameters that are not included in command-lin
205205
+ Default value: `"3s"`
206206
+ Minimum value: `"1s"`
207207

208+
### `graceful-shutdown-timeout` <span class="version-mark">New in v8.5.5</span>
209+
210+
+ Specifies the timeout duration for TiKV graceful shutdown.
211+
+ When this value is greater than `0s`, TiKV attempts to transfer all leaders on this node to other TiKV nodes within the specified timeout before shutting down. If there are still leaders that have not been transferred when the timeout is reached, TiKV skips the remaining leader transfers and proceeds directly to the shutdown process.
212+
+ When this value is `0s`, TiKV graceful shutdown is disabled.
213+
+ Default value: `"20s"`
214+
+ Minimum value: `"0s"`
215+
208216
### `concurrent-send-snap-limit`
209217

210218
+ The maximum number of snapshots sent at the same time

0 commit comments

Comments
 (0)