Skip to content

Commit

Permalink
Update tiup-playground.md
Browse files Browse the repository at this point in the history
  • Loading branch information
qiancai committed Dec 23, 2024
1 parent 3729411 commit 9579616
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tiup/tiup-playground.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,11 @@ tiup playground scale-in --pid 86526
1. 创建 `tidb.toml` 文件,并添加如下配置:

```
graceful-wait-before-shutdown=15 # 该配置项的值要大于应用程序最长的事务的持续时间,否则 TiDB server 下线时客户端可能断连
graceful-wait-before-shutdown=15
```
该配置项用于控制关闭服务器时 TiDB 等待的秒数,避免缩容集群时客户端断连。
2. 启动 TiDB 集群:
```shell
Expand Down

0 comments on commit 9579616

Please sign in to comment.