diff --git a/tikv-configuration-file.md b/tikv-configuration-file.md index 84a578de8c166..48c073dc21e09 100644 --- a/tikv-configuration-file.md +++ b/tikv-configuration-file.md @@ -198,6 +198,14 @@ This document only describes the parameters that are not included in command-lin + Default value: `"3s"` + Minimum value: `"1s"` +### `graceful-shutdown-timeout` New in v8.5.5 and v9.0.0 + ++ Specifies the timeout duration for TiKV graceful shutdown. + + 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. + + When this value is `0s`, TiKV graceful shutdown is disabled. ++ Default value: `"20s"` ++ Minimum value: `"0s"` + ### `concurrent-send-snap-limit` + The maximum number of snapshots sent at the same time