This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push: new da4e7ec6c2 [refactor](doc)Cluster upgrade adds metadata backup (#9189) da4e7ec6c2 is described below commit da4e7ec6c2c6e93403d63e074f814bfb13f39a9f Author: caoliang-web <71004656+caoliang-...@users.noreply.github.com> AuthorDate: Tue Apr 26 10:22:07 2022 +0800 [refactor](doc)Cluster upgrade adds metadata backup (#9189) --- docs/en/installing/upgrade.md | 2 ++ docs/zh-CN/installing/upgrade.md | 22 ++++++++++++---------- .../en/admin-manual/cluster-management/upgrade.md | 2 ++ .../admin-manual/cluster-management/upgrade.md | 2 ++ 4 files changed, 18 insertions(+), 10 deletions(-) diff --git a/docs/en/installing/upgrade.md b/docs/en/installing/upgrade.md index 8d1ae14fda..f5d6252571 100644 --- a/docs/en/installing/upgrade.md +++ b/docs/en/installing/upgrade.md @@ -52,6 +52,8 @@ Doris can upgrade smoothly by rolling upgrades. The following steps are recommen After the cluster is upgraded, just use the above command to set the corresponding configuration to the original value. +2. **important! ! Metadata needs to be backed up before upgrading(The entire directory needs to be backed up)! !** + ## Test the correctness of BE upgrade 1. Arbitrarily select a BE node and deploy the latest palo_be binary file. diff --git a/docs/zh-CN/installing/upgrade.md b/docs/zh-CN/installing/upgrade.md index 2d192ddd66..03cf49d727 100644 --- a/docs/zh-CN/installing/upgrade.md +++ b/docs/zh-CN/installing/upgrade.md @@ -37,20 +37,22 @@ Doris 可以通过滚动升级的方式,平滑进行升级。建议按照以 1. 关闭集群副本修复和均衡功能 - 升级过程中会有节点重启,所以可能会触发不必要的集群均衡和副本修复逻辑。可以先通过以下命令关闭: + 升级过程中会有节点重启,所以可能会触发不必要的集群均衡和副本修复逻辑。可以先通过以下命令关闭: - ``` - # 关闭副本均衡逻辑。关闭后,不会再触发普通表副本的均衡操作。 - $ mysql-client > admin set frontend config("disable_balance" = "true"); + ``` + # 关闭副本均衡逻辑。关闭后,不会再触发普通表副本的均衡操作。 + $ mysql-client > admin set frontend config("disable_balance" = "true"); - # 关闭 colocation 表的副本均衡逻辑。关闭后,不会再触发 colocation 表的副本重分布操作。 - $ mysql-client > admin set frontend config("disable_colocate_balance" = "true"); + # 关闭 colocation 表的副本均衡逻辑。关闭后,不会再触发 colocation 表的副本重分布操作。 + $ mysql-client > admin set frontend config("disable_colocate_balance" = "true"); - # 关闭副本调度逻辑。关闭后,所有已产生的副本修复和均衡任务不会再被调度。 - $ mysql-client > admin set frontend config("disable_tablet_scheduler" = "true"); - ``` + # 关闭副本调度逻辑。关闭后,所有已产生的副本修复和均衡任务不会再被调度。 + $ mysql-client > admin set frontend config("disable_tablet_scheduler" = "true"); + ``` - 当集群升级完毕后,在通过以上命令将对应配置设为原值即可。 + 当集群升级完毕后,在通过以上命令将对应配置设为原值即可。 + +2. **重要!!在升级之前需要备份元数据(整个目录都需要备份)!!** ## 测试 BE 升级正确性 diff --git a/new-docs/en/admin-manual/cluster-management/upgrade.md b/new-docs/en/admin-manual/cluster-management/upgrade.md index 6445b5c2b9..d0900f9633 100644 --- a/new-docs/en/admin-manual/cluster-management/upgrade.md +++ b/new-docs/en/admin-manual/cluster-management/upgrade.md @@ -52,6 +52,8 @@ Doris can upgrade smoothly by rolling upgrades. The following steps are recommen After the cluster is upgraded, just use the above command to set the corresponding configuration to the original value. +2. **important! ! Metadata needs to be backed up before upgrading(The entire directory needs to be backed up)! !** + ## Test the correctness of BE upgrade 1. Arbitrarily select a BE node and deploy the latest palo_be binary file. diff --git a/new-docs/zh-CN/admin-manual/cluster-management/upgrade.md b/new-docs/zh-CN/admin-manual/cluster-management/upgrade.md index d9c4fb251b..156d695105 100644 --- a/new-docs/zh-CN/admin-manual/cluster-management/upgrade.md +++ b/new-docs/zh-CN/admin-manual/cluster-management/upgrade.md @@ -52,6 +52,8 @@ Doris 可以通过滚动升级的方式,平滑进行升级。建议按照以 当集群升级完毕后,在通过以上命令将对应配置设为原值即可。 +2. **重要!!在升级之前需要备份元数据(整个目录都需要备份)!!** + ## 测试 BE 升级正确性 1. 任意选择一个 BE 节点,部署最新的 palo_be 二进制文件。 --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org