Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tiup: update the default value of transfer-timeout from 300 to 600 (#13808) #13815

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dm/maintain-dm-using-tiup.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ Flags:
-N, --node strings Specify the nodes
--overwrite Use this package in the future scale-out operations
-R, --role strings Specify the role
--transfer-timeout int Timeout in seconds when transferring dm-master leaders (default 300)
--transfer-timeout int Timeout in seconds when transferring dm-master leaders (default 600)

Global Flags:
--native-ssh Use the native SSH client installed on local system instead of the build-in one.
Expand Down
2 changes: 1 addition & 1 deletion tiup/tiup-component-cluster-patch.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ tiup cluster patch <cluster-name> <package-path> [flags]
- 数据类型:`BOOLEAN`
- 该选项默认关闭,默认值为 `false`。在命令中添加该选项,并传入 `true` 值或不传值,均可开启此功能。

### --transfer-timeout(uint,默认 300
### --transfer-timeout(uint,默认 600

在重启 PD 或 TiKV 时,会先将被重启节点的 leader 迁移到其他节点,迁移过程会需要一定时间,可以通过设置 `--transfer-timeout` 设置最长等待时间(单位为秒),超时之后会跳过等待直接重启服务。

Expand Down
2 changes: 1 addition & 1 deletion tiup/tiup-component-cluster-reload.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ tiup cluster reload <cluster-name> [flags]
- 数据类型:`BOOLEAN`
- 该选项默认关闭,默认值为 `false`。在命令中添加该选项,并传入 `true` 值或不传值,均可开启此功能。

### --transfer-timeout(uint,默认 300
### --transfer-timeout(uint,默认 600

在重启 PD 或 TiKV 时,会先将被重启节点的 leader 迁移到其他节点,迁移过程会需要一定时间,可以通过设置 `--transfer-timeout` 设置最长等待时间(单位为秒),超时之后会跳过等待直接重启服务。

Expand Down
2 changes: 1 addition & 1 deletion tiup/tiup-component-cluster-scale-in.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ tiup cluster scale-in <cluster-name> [flags]
>
> 使用该选项强制移除正在服务和下线中的 TiKV / TiFlash 节点时,这些节点会被直接删除,不等待数据调度完成,因此这个场景下,数据丢失风险非常大。不建议对未宕机的节点使用该选项。如果元数据所在的 Region 发生数据丢失,整个集群将不可用且无法恢复。

### --transfer-timeout(uint,默认 300
### --transfer-timeout(uint,默认 600

在缩容 PD 或 TiKV 时,会先将被缩容节点的 leader 迁移到其他节点,迁移过程会需要一定时间,可以通过设置 `--transfer-timeout` 设置最长等待时间(单位为秒),超时之后会跳过等待直接缩容服务。

Expand Down
2 changes: 1 addition & 1 deletion tiup/tiup-component-cluster-upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ tiup cluster upgrade <cluster-name> <version> [flags]
>
> 对正在提供服务的集群强制升级可能导致集群服务不可用。对于未启动的集群,升级成功后会自动启动集群。

### --transfer-timeout(uint,默认 300
### --transfer-timeout(uint,默认 600

在升级 PD 或 TiKV 时,会先将被升级节点的 leader 迁移到其他节点,迁移过程会需要一定时间,可以通过设置 `--transfer-timeout` 设置最长等待时间(单位为秒),超时之后会跳过等待直接升级服务。

Expand Down