Skip to content

Commit 95008e8

Browse files
authored
tiflash: add a config named graceful_shutdown_wait_timeout (#21734)
1 parent 07e042a commit 95008e8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tiflash/tiflash-configuration.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,13 @@ The following configuration items only take effect for the TiFlash disaggregated
271271
- This configuration item only takes effect for the TiFlash disaggregated storage and compute architecture mode. For details, see [TiFlash Disaggregated Storage and Compute Architecture and S3 Support](/tiflash/tiflash-disaggregated-and-s3.md).
272272
- Value options: `"tiflash_write"`, `"tiflash_compute"`
273273

274+
##### `graceful_wait_shutdown_timeout` <span class="version-mark">New in v8.5.4 and v9.0.0</span>
275+
276+
- Controls the maximum wait time when shutting down a TiFlash server. During this period, TiFlash continues running unfinished MPP tasks but does not accept new ones. If all running MPP tasks finish before this timeout, TiFlash shuts down immediately; otherwise, it is forcibly shut down after the wait time expires.
277+
- Default value: `600`
278+
- Unit: seconds
279+
- While the TiFlash server is waiting to shut down (in the grace period), TiDB will not send new MPP tasks to it.
280+
274281
#### flash.proxy
275282

276283
##### `addr`

0 commit comments

Comments
 (0)