Skip to content
Merged
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
18 changes: 15 additions & 3 deletions reference/tiflash/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,34 @@ category: reference
>
> To upgrade TiFlash from the Pre-RC version to a later version, contact [PingCAP](mailto:info@pingcap.com) for more information and help.

Currently, you cannot upgrade TiFlash by running the `tiup cluster upgrade` command. Instead, take the following steps to upgrade TiFlash:

Before the upgrade, make sure that the cluster is started. To upgrade TiFlash nodes, take the following steps:

1. Run the upgrade command:
1. Refer to [Scale in a TiFlash node](/how-to/scale/with-tiup.md#sclale-in-a-tiflash-node), and scale in all the TiFlash nodes.

2. Run the upgrade command:

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

```shell
tiup cluster upgrade test v4.0.0-rc
```

2. View the cluster status:
3. Run the scale-out command:

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

```shell
tiup cluster scale-out test scale-out.yaml
```

4. View the cluster status:

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

```shell
tiup cluster display test
```

3. Access the monitoring platform using your browser, and view the status of the cluster.
5. Access the monitoring platform using your browser, and view the status of the cluster.