Skip to content

Commit

Permalink
bump version to 7.5.0 (#15436)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oreoxmt authored Dec 1, 2023
1 parent 1829c7b commit 38bfe0d
Show file tree
Hide file tree
Showing 31 changed files with 77 additions and 76 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
| 文档仓库 branch | 对应 TiDB 文档版本 |
|:---------|:----------|
| [`master`](https://github.com/pingcap/docs-cn/tree/master) | dev 最新开发版 |
| [`release-7.5`](https://github.com/pingcap/docs-cn/tree/release-7.5) | 7.5 长期支持版 (LTS) |
| [`release-7.4`](https://github.com/pingcap/docs-cn/tree/release-7.4) | 7.4 开发里程碑版 (DMR) |
| [`release-7.3`](https://github.com/pingcap/docs-cn/tree/release-7.3) | 7.3 开发里程碑版 (DMR) |
| [`release-7.2`](https://github.com/pingcap/docs-cn/tree/release-7.2) | 7.2 开发里程碑版 (DMR) |
Expand Down
6 changes: 3 additions & 3 deletions br/backup-and-restore-use-cases.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ aliases: ['/docs-cn/dev/br/backup-and-restore-use-cases/','/docs-cn/dev/referenc

## 部署 TiDB 集群和 br 命令行工具

使用 PITR 功能,需要部署 v6.2.0 或以上版本的 TiDB 集群,并且更新 br 命令行工具到与 TiDB 集群相同的版本,本文假设使用的是 v7.4.0 版本。
使用 PITR 功能,需要部署 v6.2.0 或以上版本的 TiDB 集群,并且更新 br 命令行工具到与 TiDB 集群相同的版本,本文假设使用的是 v7.5.0 版本。

下表介绍了在 TiDB 集群中使用日志备份功能的推荐配置。

Expand All @@ -44,13 +44,13 @@ aliases: ['/docs-cn/dev/br/backup-and-restore-use-cases/','/docs-cn/dev/referenc
- 安装:

```shell
tiup install br:v7.4.0
tiup install br:v7.5.0
```

- 升级:

```shell
tiup update br:v7.4.0
tiup update br:v7.5.0
```

## 配置备份存储 (Amazon S3)
Expand Down
2 changes: 1 addition & 1 deletion develop/dev-guide-proxysql-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ mysql -u root -h 127.0.0.1 -P 6033 -e "SELECT VERSION()"
+--------------------+
| VERSION() |
+--------------------+
| 8.0.11-TiDB-v7.4.0 |
| 8.0.11-TiDB-v7.5.0 |
+--------------------+
```
Expand Down
2 changes: 1 addition & 1 deletion develop/dev-guide-sample-application-nodejs-mysql2.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ npm run start
如果连接成功,你的终端将会输出所连接集群的版本信息:

```
🔌 Connected to TiDB cluster! (TiDB version: 8.0.11-TiDB-v7.4.0)
🔌 Connected to TiDB cluster! (TiDB version: 8.0.11-TiDB-v7.5.0)
⏳ Loading sample game data...
✅ Loaded sample game data.

Expand Down
2 changes: 1 addition & 1 deletion develop/dev-guide-sample-application-nodejs-mysqljs.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ npm run start
如果连接成功,你的终端将会输出所连接集群的版本信息:

```
🔌 Connected to TiDB cluster! (TiDB version: 8.0.11-TiDB-v7.4.0)
🔌 Connected to TiDB cluster! (TiDB version: 8.0.11-TiDB-v7.5.0)
⏳ Loading sample game data...
✅ Loaded sample game data.

Expand Down
2 changes: 1 addition & 1 deletion develop/dev-guide-sample-application-nodejs-typeorm.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ npm start
如果连接成功,你的终端将会输出所连接集群的版本信息:

```
🔌 Connected to TiDB cluster! (TiDB version: 8.0.11-TiDB-v7.4.0)
🔌 Connected to TiDB cluster! (TiDB version: 8.0.11-TiDB-v7.5.0)
🆕 Created a new player with ID 2.
ℹ️ Got Player 2: Player { id: 2, coins: 100, goods: 100 }
🔢 Added 50 coins and 50 goods to player 2, now player 2 has 100 coins and 150 goods.
Expand Down
2 changes: 1 addition & 1 deletion develop/dev-guide-sample-application-ruby-mysql2.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ ruby app.rb
如果连接成功,你的终端将会输出所连接集群的版本信息:

```
🔌 Connected to TiDB cluster! (TiDB version: 8.0.11-TiDB-v7.4.0)
🔌 Connected to TiDB cluster! (TiDB version: 8.0.11-TiDB-v7.5.0)
⏳ Loading sample game data...
✅ Loaded sample game data.

Expand Down
2 changes: 1 addition & 1 deletion develop/dev-guide-sample-application-ruby-rails.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ bundle add mysql2 dotenv
如果连接成功,你的终端将会输出所连接集群的版本信息:

```
🔌 Connected to TiDB cluster! (TiDB version: 8.0.11-TiDB-v7.4.0)
🔌 Connected to TiDB cluster! (TiDB version: 8.0.11-TiDB-v7.5.0)
⏳ Loading sample game data...
✅ Loaded sample game data.

Expand Down
2 changes: 1 addition & 1 deletion dm/maintain-dm-using-tiup.md
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ tiup dmctl --master-addr master1:8261 operate-source create /tmp/source1.yml

此时可以通过命令行参数 `--native-ssh` 启用系统自带命令行:

- 部署集群:`tiup dm deploy <cluster-name> <version> <topo> --native-ssh`,其中 `<cluster-name>` 为集群名称,`<version>` 为 DM 集群版本(例如 `v7.4.0`),`<topo>` 为拓扑文件路径
- 部署集群:`tiup dm deploy <cluster-name> <version> <topo> --native-ssh`,其中 `<cluster-name>` 为集群名称,`<version>` 为 DM 集群版本(例如 `v7.5.0`),`<topo>` 为拓扑文件路径
- 启动集群:`tiup dm start <cluster-name> --native-ssh`
- 升级集群:`tiup dm upgrade ... --native-ssh`

Expand Down
2 changes: 1 addition & 1 deletion dm/quick-start-create-task.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ docker run --rm --name mysql-3307 -p 3307:3307 -e MYSQL_ALLOW_EMPTY_PASSWORD=tru
{{< copyable "shell-regular" >}}

```bash
wget https://download.pingcap.org/tidb-community-server-v7.4.0-linux-amd64.tar.gz
wget https://download.pingcap.org/tidb-community-server-v7.5.0-linux-amd64.tar.gz
tar -xzvf tidb-latest-linux-amd64.tar.gz
mv tidb-latest-linux-amd64/bin/tidb-server ./
./tidb-server -P 4000 --store mocktikv --log-file "./tidb.log" &
Expand Down
2 changes: 1 addition & 1 deletion information-schema/information-schema-tidb-servers-info.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ SELECT * FROM TIDB_SERVERS_INFO\G
PORT: 4000
STATUS_PORT: 10080
LEASE: 45s
VERSION: 8.0.11-TiDB-v7.4.0
VERSION: 8.0.11-TiDB-v7.5.0
GIT_HASH: 635a4362235e8a3c0043542e629532e3c7bb2756
BINLOG_STATUS: Off
LABELS:
Expand Down
2 changes: 1 addition & 1 deletion pd-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ PD Control 是 PD 的命令行工具,用于获取集群状态信息和调整

> **注意:**
>
> 下载链接中的 `{version}` 为 TiDB 的版本号。例如,amd64 架构的 `v7.4.0` 版本的下载链接为 `https://download.pingcap.org/tidb-community-server-v7.4.0-linux-amd64.tar.gz`
> 下载链接中的 `{version}` 为 TiDB 的版本号。例如,amd64 架构的 `v7.5.0` 版本的下载链接为 `https://download.pingcap.org/tidb-community-server-v7.5.0-linux-amd64.tar.gz`
### 源码编译

Expand Down
2 changes: 1 addition & 1 deletion post-installation-check.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ mysql -u root -h ${tidb_server_host_IP_address} -P 4000
```sql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 8.0.11-TiDB-v7.4.0 TiDB Server (Apache License 2.0) Community Edition, MySQL 8.0 compatible
Server version: 8.0.11-TiDB-v7.5.0 TiDB Server (Apache License 2.0) Community Edition, MySQL 8.0 compatible

Copyright (c) 2000, 2023, Oracle and/or its affiliates. All rights reserved.

Expand Down
4 changes: 2 additions & 2 deletions production-deployment-using-tiup.md
Original file line number Diff line number Diff line change
Expand Up @@ -341,13 +341,13 @@ alertmanager_servers:
{{< copyable "shell-regular" >}}

```shell
tiup cluster deploy tidb-test v7.4.0 ./topology.yaml --user root [-p] [-i /home/root/.ssh/gcp_rsa]
tiup cluster deploy tidb-test v7.5.0 ./topology.yaml --user root [-p] [-i /home/root/.ssh/gcp_rsa]
```

以上部署示例中:

- `tidb-test` 为部署的集群名称。
- `v7.4.0` 为部署的集群版本,可以通过执行 `tiup list tidb` 来查看 TiUP 支持的最新可用版本。
- `v7.5.0` 为部署的集群版本,可以通过执行 `tiup list tidb` 来查看 TiUP 支持的最新可用版本。
- 初始化配置文件为 `topology.yaml`
- `--user root` 表示通过 root 用户登录到目标主机完成集群部署,该用户需要有 ssh 到目标机器的权限,并且在目标机器有 sudo 权限。也可以用其他有 ssh 和 sudo 权限的用户完成部署。
- [-i] 及 [-p] 为可选项,如果已经配置免密登录目标机,则不需填写。否则选择其一即可,[-i] 为可登录到目标机的 root 用户(或 --user 指定的其他用户)的私钥,也可使用 [-p] 交互式输入该用户的密码。
Expand Down
10 changes: 5 additions & 5 deletions quick-start-with-tidb.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ TiDB 是一个分布式系统。最基础的 TiDB 测试集群通常由 2 个 Ti
{{< copyable "shell-regular" >}}

```shell
tiup playground v7.4.0 --db 2 --pd 3 --kv 3
tiup playground v7.5.0 --db 2 --pd 3 --kv 3
```

上述命令会在本地下载并启动某个版本的集群(例如 v7.4.0)。最新版本可以通过执行 `tiup list tidb` 来查看。运行结果将显示集群的访问方式:
上述命令会在本地下载并启动某个版本的集群(例如 v7.5.0)。最新版本可以通过执行 `tiup list tidb` 来查看。运行结果将显示集群的访问方式:

```log
CLUSTER START SUCCESSFULLY, Enjoy it ^-^
Expand Down Expand Up @@ -198,10 +198,10 @@ TiDB 是一个分布式系统。最基础的 TiDB 测试集群通常由 2 个 Ti
{{< copyable "shell-regular" >}}

```shell
tiup playground v7.4.0 --db 2 --pd 3 --kv 3
tiup playground v7.5.0 --db 2 --pd 3 --kv 3
```

上述命令会在本地下载并启动某个版本的集群(例如 v7.4.0)。最新版本可以通过执行 `tiup list tidb` 来查看。运行结果将显示集群的访问方式:
上述命令会在本地下载并启动某个版本的集群(例如 v7.5.0)。最新版本可以通过执行 `tiup list tidb` 来查看。运行结果将显示集群的访问方式:

```log
CLUSTER START SUCCESSFULLY, Enjoy it ^-^
Expand Down Expand Up @@ -432,7 +432,7 @@ TiDB 是一个分布式系统。最基础的 TiDB 测试集群通常由 2 个 Ti
```
- 参数 `<cluster-name>` 表示设置集群名称
- 参数 `<version>` 表示设置集群版本,例如 `v7.4.0`。可以通过 `tiup list tidb` 命令来查看当前支持部署的 TiDB 版本
- 参数 `<version>` 表示设置集群版本,例如 `v7.5.0`。可以通过 `tiup list tidb` 命令来查看当前支持部署的 TiDB 版本
- 参数 `-p` 表示在连接目标机器时使用密码登录
> **注意:**
Expand Down
2 changes: 1 addition & 1 deletion scale-tidb-using-tiup.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ Starting /root/.tiup/components/cluster/v1.12.3/cluster display <cluster-name>
TiDB Cluster: <cluster-name>
TiDB Version: v7.4.0
TiDB Version: v7.5.0
ID Role Host Ports Status Data Dir Deploy Dir
Expand Down
2 changes: 1 addition & 1 deletion system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -5037,7 +5037,7 @@ Query OK, 0 rows affected, 1 warning (0.00 sec)
- 作用域:NONE
- 是否受 Hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value) 控制:否
- 默认值:`8.0.11-TiDB-(tidb version)`
- 这个变量的值是 MySQL 的版本和 TiDB 的版本,例如 '8.0.11-TiDB-v7.4.0'
- 这个变量的值是 MySQL 的版本和 TiDB 的版本,例如 '8.0.11-TiDB-v7.5.0'

### `version_comment`

Expand Down
4 changes: 2 additions & 2 deletions ticdc/deploy-ticdc.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ tiup cluster upgrade <cluster-name> <version> --transfer-timeout 600

> **注意:**
>
> 命令中的 `<cluster-name>` 需要替换为集群名字,`<version>` 需要替换为目标版本号,例如 v7.4.0。
> 命令中的 `<cluster-name>` 需要替换为集群名字,`<version>` 需要替换为目标版本号,例如 v7.5.0。

### 升级的注意事项

Expand Down Expand Up @@ -152,7 +152,7 @@ tiup cluster upgrade <cluster-name> <version> --transfer-timeout 600

## 使用 TiCDC 命令行工具来查看集群状态

执行以下命令来查看 TiCDC 集群运行状态,注意需要将 `v<CLUSTER_VERSION>` 替换为 TiCDC 集群版本,例如 `v7.4.0`
执行以下命令来查看 TiCDC 集群运行状态,注意需要将 `v<CLUSTER_VERSION>` 替换为 TiCDC 集群版本,例如 `v7.5.0`

```shell
tiup ctl:v<CLUSTER_VERSION> cdc capture list --server=http://10.0.10.25:8300
Expand Down
2 changes: 1 addition & 1 deletion ticdc/ticdc-open-api-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ curl -X GET http://127.0.0.1:8300/api/v2/status

```json
{
"version": "v7.4.0",
"version": "v7.5.0",
"git_hash": "10413bded1bdb2850aa6d7b94eb375102e9c44dc",
"id": "d2912e63-3349-447c-90ba-72a4e04b5e9e",
"pid": 1447,
Expand Down
2 changes: 1 addition & 1 deletion tidb-binlog/get-started-with-tidb-binlog.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ sudo yum install -y mariadb-server
{{< copyable "shell-regular" >}}

```bash
curl -LO https://download.pingcap.org/tidb-community-server-v7.4.0-linux-amd64.tar.gz | tar xzf - &&
curl -LO https://download.pingcap.org/tidb-community-server-v7.5.0-linux-amd64.tar.gz | tar xzf - &&
cd tidb-latest-linux-amd64
```

Expand Down
2 changes: 1 addition & 1 deletion tidb-monitoring-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ curl http://127.0.0.1:10080/status
```
{
connections: 0, # 当前 TiDB Server 上的客户端连接数
version: "8.0.11-TiDB-v7.4.0", # TiDB 版本号
version: "8.0.11-TiDB-v7.5.0", # TiDB 版本号
git_hash: "7267747ae0ec624dffc3fdedb00f1ed36e10284b" # TiDB 当前代码的 Git Hash
}
```
Expand Down
4 changes: 2 additions & 2 deletions tiflash/create-tiflash-replicas.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ SELECT TABLE_NAME FROM information_schema.tables where TABLE_SCHEMA = "<db_name>
tiup ctl:v<CLUSTER_VERSION> pd -u http://<PD_ADDRESS>:2379 store limit all engine tiflash 60 add-peer
```

> 上述命令中,需要将 `v<CLUSTER_VERSION>` 替换为该集群版本,例如 `v7.4.0``<PD_ADDRESS>:2379` 替换为任一 PD 节点的地址。替换后样例为:
> 上述命令中,需要将 `v<CLUSTER_VERSION>` 替换为该集群版本,例如 `v7.5.0``<PD_ADDRESS>:2379` 替换为任一 PD 节点的地址。替换后样例为:
>
> ```shell
> tiup ctl:v7.4.0 pd -u http://192.168.1.4:2379 store limit all engine tiflash 60 add-peer
> tiup ctl:v7.5.0 pd -u http://192.168.1.4:2379 store limit all engine tiflash 60 add-peer
> ```

执行完毕后,几分钟内,你将观察到 TiFlash 节点的 CPU 及磁盘 IO 资源占用显著提升,TiFlash 将更快地创建副本。同时,TiKV 节点的 CPU 及磁盘 IO 资源占用也将有所上升。
Expand Down
30 changes: 15 additions & 15 deletions tiup/tiup-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Flags:
tiup cluster deploy <cluster-name> <version> <topology.yaml> [flags]
```

该命令需要提供集群的名字、集群使用的 TiDB 版本(例如 `v7.4.0`),以及一个集群的拓扑文件。
该命令需要提供集群的名字、集群使用的 TiDB 版本(例如 `v7.5.0`),以及一个集群的拓扑文件。

拓扑文件的编写可参考[示例](https://github.com/pingcap/tiup/blob/master/embed/examples/cluster/topology.example.yaml)。以一个最简单的拓扑为例,将下列文件保存为 `/tmp/topology.yaml`

Expand Down Expand Up @@ -118,20 +118,20 @@ tidb_servers:
...
```

假如我们想要使用 TiDB 的 v7.4.0 版本,集群名字为 `prod-cluster`,则执行以下命令:
假如我们想要使用 TiDB 的 v7.5.0 版本,集群名字为 `prod-cluster`,则执行以下命令:

{{< copyable "shell-regular" >}}

```shell
tiup cluster deploy -p prod-cluster v7.4.0 /tmp/topology.yaml
tiup cluster deploy -p prod-cluster v7.5.0 /tmp/topology.yaml
```

执行过程中会再次确认拓扑结构并提示输入目标机器上的 root 密码(-p 表示使用密码):

```bash
Please confirm your topology:
TiDB Cluster: prod-cluster
TiDB Version: v7.4.0
TiDB Version: v7.5.0
Type Host Ports OS/Arch Directories
---- ---- ----- ------- -----------
pd 172.16.5.134 2379/2380 linux/x86_64 deploy/pd-2379,data/pd-2379
Expand Down Expand Up @@ -174,7 +174,7 @@ tiup cluster list
Starting /root/.tiup/components/cluster/v1.12.3/cluster list
Name User Version Path PrivateKey
---- ---- ------- ---- ----------
prod-cluster tidb v7.4.0 /root/.tiup/storage/cluster/clusters/prod-cluster /root/.tiup/storage/cluster/clusters/prod-cluster/ssh/id_rsa
prod-cluster tidb v7.5.0 /root/.tiup/storage/cluster/clusters/prod-cluster /root/.tiup/storage/cluster/clusters/prod-cluster/ssh/id_rsa
```

## 启动集群
Expand Down Expand Up @@ -202,7 +202,7 @@ tiup cluster display prod-cluster
```
Starting /root/.tiup/components/cluster/v1.12.3/cluster display prod-cluster
TiDB Cluster: prod-cluster
TiDB Version: v7.4.0
TiDB Version: v7.5.0
ID Role Host Ports OS/Arch Status Data Dir Deploy Dir
-- ---- ---- ----- ------- ------ -------- ----------
172.16.5.134:3000 grafana 172.16.5.134 3000 linux/x86_64 Up - deploy/grafana-3000
Expand Down Expand Up @@ -270,7 +270,7 @@ tiup cluster display prod-cluster
```
Starting /root/.tiup/components/cluster/v1.12.3/cluster display prod-cluster
TiDB Cluster: prod-cluster
TiDB Version: v7.4.0
TiDB Version: v7.5.0
ID Role Host Ports OS/Arch Status Data Dir Deploy Dir
-- ---- ---- ----- ------- ------ -------- ----------
172.16.5.134:3000 grafana 172.16.5.134 3000 linux/x86_64 Up - deploy/grafana-3000
Expand Down Expand Up @@ -370,12 +370,12 @@ Global Flags:
-y, --yes 跳过所有的确认步骤
```

例如,把集群升级到 v7.4.0 的命令为:
例如,把集群升级到 v7.5.0 的命令为:

{{< copyable "shell-regular" >}}

```bash
tiup cluster upgrade tidb-test v7.4.0
tiup cluster upgrade tidb-test v7.5.0
```

## 更新配置
Expand Down Expand Up @@ -555,11 +555,11 @@ tiup cluster audit
Starting component `cluster`: /home/tidb/.tiup/components/cluster/v1.12.3/cluster audit
ID Time Command
-- ---- -------
4BLhr0 2023-10-12T23:55:09+08:00 /home/tidb/.tiup/components/cluster/v1.12.3/cluster deploy test v7.4.0 /tmp/topology.yaml
4BKWjF 2023-10-12T23:36:57+08:00 /home/tidb/.tiup/components/cluster/v1.12.3/cluster deploy test v7.4.0 /tmp/topology.yaml
4BKVwH 2023-10-12T23:02:08+08:00 /home/tidb/.tiup/components/cluster/v1.12.3/cluster deploy test v7.4.0 /tmp/topology.yaml
4BKKH1 2023-10-12T16:39:04+08:00 /home/tidb/.tiup/components/cluster/v1.12.3/cluster destroy test
4BKKDx 2023-10-12T16:36:57+08:00 /home/tidb/.tiup/components/cluster/v1.12.3/cluster deploy test v7.4.0 /tmp/topology.yaml
4BLhr0 2023-12-01T23:55:09+08:00 /home/tidb/.tiup/components/cluster/v1.12.3/cluster deploy test v7.5.0 /tmp/topology.yaml
4BKWjF 2023-12-01T23:36:57+08:00 /home/tidb/.tiup/components/cluster/v1.12.3/cluster deploy test v7.5.0 /tmp/topology.yaml
4BKVwH 2023-12-01T23:02:08+08:00 /home/tidb/.tiup/components/cluster/v1.12.3/cluster deploy test v7.5.0 /tmp/topology.yaml
4BKKH1 2023-12-01T16:39:04+08:00 /home/tidb/.tiup/components/cluster/v1.12.3/cluster destroy test
4BKKDx 2023-12-01T16:36:57+08:00 /home/tidb/.tiup/components/cluster/v1.12.3/cluster deploy test v7.5.0 /tmp/topology.yaml
```

第一列为 audit-id,如果想看某个命令的执行日志,则传入这个 audit-id:
Expand Down Expand Up @@ -673,7 +673,7 @@ tiup cluster check <cluster-name> --cluster

此时可以通过命令行参数 `--ssh=system` 启用系统自带命令行:

- 部署集群:`tiup cluster deploy <cluster-name> <version> <topo> --ssh=system`,其中 `<cluster-name>` 为集群名称,`<version>` 为 TiDB 集群版本(例如 `v7.4.0`),`<topo>` 为拓扑文件路径
- 部署集群:`tiup cluster deploy <cluster-name> <version> <topo> --ssh=system`,其中 `<cluster-name>` 为集群名称,`<version>` 为 TiDB 集群版本(例如 `v7.5.0`),`<topo>` 为拓扑文件路径
- 启动集群:`tiup cluster start <cluster-name> --ssh=system`
- 升级集群:`tiup cluster upgrade ... --ssh=system`

Expand Down
2 changes: 1 addition & 1 deletion tiup/tiup-component-cluster-deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tiup cluster deploy <cluster-name> <version> <topology.yaml> [flags]
```

- `<cluster-name>` 表示新集群的名字,不能和现有集群同名
- `<version>` 为要部署的 TiDB 集群版本号,如 `v7.4.0`
- `<version>` 为要部署的 TiDB 集群版本号,如 `v7.5.0`
- `<topology.yaml>` 为事先编写好的[拓扑文件](/tiup/tiup-cluster-topology-reference.md)

## 选项
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 @@ -28,7 +28,7 @@ tiup cluster patch <cluster-name> <package-path> [flags]
1. 确定以下变量的值:

- `${component}`:需要替换的组件名(例如 `tidb``tikv``pd`)。
- `${version}`:组件的版本(例如 `v7.4.0``v6.5.3`)。
- `${version}`:组件的版本(例如 `v7.5.0``v6.5.3`)。
- `${os}`:操作系统 (`linux`)。
- `${arch}`:组件运行的平台 (`amd64``arm64`)。
2. 下载当前的组件包:
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 @@ -13,7 +13,7 @@ tiup cluster upgrade <cluster-name> <version> [flags]
```

- `<cluster-name>` 为要操作的集群名字,如果忘记集群名字可通过[集群列表](/tiup/tiup-component-cluster-list.md)查看。
- `<version>` 为要升级到的目标版本,例如 `v7.4.0`。目前仅允许升级到比当前集群更高的版本,不允许升级到比当前集群更低的版本,即不允许降级。同时也不允许升级成 nightly 版本。
- `<version>` 为要升级到的目标版本,例如 `v7.5.0`。目前仅允许升级到比当前集群更高的版本,不允许升级到比当前集群更低的版本,即不允许降级。同时也不允许升级成 nightly 版本。

## 选项

Expand Down
Loading

0 comments on commit 38bfe0d

Please sign in to comment.