Skip to content

Commit 7af6c87

Browse files
authored
v8.5.4: tiflash: add a config named graceful_shutdown_wait_timeout (#21734) (#22016)
1 parent ba8f437 commit 7af6c87

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
@@ -241,6 +241,13 @@ The following configuration items only take effect for the TiFlash disaggregated
241241
- 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).
242242
- Value options: `"tiflash_write"`, `"tiflash_compute"`
243243

244+
##### `graceful_wait_shutdown_timeout` <span class="version-mark">New in v8.5.4</span>
245+
246+
- 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.
247+
- Default value: `600`
248+
- Unit: seconds
249+
- While the TiFlash server is waiting to shut down (in the grace period), TiDB will not send new MPP tasks to it.
250+
244251
#### flash.proxy
245252

246253
##### `addr`

0 commit comments

Comments
 (0)