Skip to content

Commit 3aef0cd

Browse files
authored
v8.5.4: tiflash: add a config named graceful_shutdown_wait_timeout (#20894) (#21048)
1 parent ba9f2ca commit 3aef0cd

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
@@ -239,6 +239,13 @@ I/O 限流功能相关配置。
239239
- 该配置只针对存算分离模式生效,详细请参考 [TiFlash 存算分离架构与 S3 支持](/tiflash/tiflash-disaggregated-and-s3.md)
240240
- 可选值:`"tiflash_write"``"tiflash_compute"`
241241

242+
##### `graceful_wait_shutdown_timeout` <span class="version-mark">从 v8.5.4 开始引入</span>
243+
244+
- 控制在关闭 TiFlash 服务器时的最长等待时间。在此期间,TiFlash 允许尚未完成的 MPP 任务继续执行,但不再接收新的 MPP 任务。如果所有正在运行的 MPP 任务都在此超时时间之前完成,TiFlash 将立即关闭;否则将在等待时间结束后强制关闭。
245+
- 默认值:`600`
246+
- 单位:秒
247+
- 在等待 TiFlash 服务器关闭期间,TiDB 不会再向该 TiFlash 服务器发送新的 MPP 任务。
248+
242249
#### flash.proxy
243250

244251
##### `addr`

0 commit comments

Comments
 (0)