From 737ab4817ee75e4cf9fe93cf44486c4a0e3b8221 Mon Sep 17 00:00:00 2001 From: Ran Date: Thu, 16 Apr 2020 21:33:42 +0800 Subject: [PATCH 1/4] tiflash: update tiflash upgrade doc --- reference/tiflash/upgrade.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/reference/tiflash/upgrade.md b/reference/tiflash/upgrade.md index 603548f94577f..2132dbbd19cd6 100644 --- a/reference/tiflash/upgrade.md +++ b/reference/tiflash/upgrade.md @@ -6,9 +6,11 @@ category: reference # Upgrade TiFlash Nodes -Before the upgrade, make sure that the cluster is started. To upgrade TiFlash nodes, take the following steps: +Currently, TiFlash does not support upgrading using `tiup cluster upgrade`. To upgrade TiFlash, 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 nodes in TiFlash. + +2. Run the upgrade command: {{< copyable "shell-regular" >}} @@ -16,7 +18,15 @@ Before the upgrade, make sure that the cluster is started. To upgrade TiFlash no 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" >}} @@ -24,4 +34,4 @@ Before the upgrade, make sure that the cluster is started. To upgrade TiFlash no 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. From cfc20c9c7e903552c8bb0900ec582c57f84bb441 Mon Sep 17 00:00:00 2001 From: Ran Date: Fri, 17 Apr 2020 16:11:53 +0800 Subject: [PATCH 2/4] test markdownlint --- reference/tiflash/upgrade.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/reference/tiflash/upgrade.md b/reference/tiflash/upgrade.md index 2132dbbd19cd6..b40f0f51c2837 100644 --- a/reference/tiflash/upgrade.md +++ b/reference/tiflash/upgrade.md @@ -5,9 +5,7 @@ category: reference --- # Upgrade TiFlash Nodes - Currently, TiFlash does not support upgrading using `tiup cluster upgrade`. To upgrade TiFlash, take the following steps: - 1. Refer to [Scale in a TiFlash node](/how-to/scale/with-tiup.md#sclale-in-a-tiflash-node), and scale in all the nodes in TiFlash. 2. Run the upgrade command: From afa6f3a5d13f0818ed6f3e6a6f7e2d762b928714 Mon Sep 17 00:00:00 2001 From: Ran Date: Fri, 17 Apr 2020 16:13:26 +0800 Subject: [PATCH 3/4] redo the change --- reference/tiflash/upgrade.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reference/tiflash/upgrade.md b/reference/tiflash/upgrade.md index b40f0f51c2837..2132dbbd19cd6 100644 --- a/reference/tiflash/upgrade.md +++ b/reference/tiflash/upgrade.md @@ -5,7 +5,9 @@ category: reference --- # Upgrade TiFlash Nodes + Currently, TiFlash does not support upgrading using `tiup cluster upgrade`. To upgrade TiFlash, take the following steps: + 1. Refer to [Scale in a TiFlash node](/how-to/scale/with-tiup.md#sclale-in-a-tiflash-node), and scale in all the nodes in TiFlash. 2. Run the upgrade command: From 8721b1b4583f491ca2f6c858bef50ee3736f9621 Mon Sep 17 00:00:00 2001 From: Ran Date: Fri, 17 Apr 2020 18:26:16 +0800 Subject: [PATCH 4/4] Apply suggestions from code review Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com> --- reference/tiflash/upgrade.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/tiflash/upgrade.md b/reference/tiflash/upgrade.md index 2132dbbd19cd6..17fce5ce051a1 100644 --- a/reference/tiflash/upgrade.md +++ b/reference/tiflash/upgrade.md @@ -6,9 +6,9 @@ category: reference # Upgrade TiFlash Nodes -Currently, TiFlash does not support upgrading using `tiup cluster upgrade`. To upgrade TiFlash, take the following steps: +Currently, you cannot upgrade TiFlash by running the `tiup cluster upgrade` command. Instead, take the following steps to upgrade TiFlash: -1. Refer to [Scale in a TiFlash node](/how-to/scale/with-tiup.md#sclale-in-a-tiflash-node), and scale in all the nodes in TiFlash. +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: