Skip to content

Commit ba6495b

Browse files
authored
tiflash: add a config named graceful_shutdown_wait_timeout (#20894)
1 parent 412a3f4 commit ba6495b

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

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

274281
##### `addr`

0 commit comments

Comments
 (0)