This is an automated email from the ASF dual-hosted git repository.

jiafengzheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 9ed36aa48b [doc](website)fe elastic scaling documentation issue 
(#11471)
9ed36aa48b is described below

commit 9ed36aa48b657c25aa3358600ae1b2b3d7397d57
Author: jiafeng.zhang <zhang...@gmail.com>
AuthorDate: Thu Aug 4 13:57:59 2022 +0800

    [doc](website)fe elastic scaling documentation issue (#11471)
    
    fe elastic scaling documentation issue
---
 .../cluster-management/elastic-expansion.md         | 21 +++++++++++++--------
 .../cluster-management/elastic-expansion.md         | 20 ++++++++++++++------
 2 files changed, 27 insertions(+), 14 deletions(-)

diff --git a/docs/en/docs/admin-manual/cluster-management/elastic-expansion.md 
b/docs/en/docs/admin-manual/cluster-management/elastic-expansion.md
index e46d443ca5..b5738f6a2d 100644
--- a/docs/en/docs/admin-manual/cluster-management/elastic-expansion.md
+++ b/docs/en/docs/admin-manual/cluster-management/elastic-expansion.md
@@ -51,6 +51,16 @@ FE is divided into three roles: Leader, Follower and 
Observer. By default, a clu
 
 The first FE to start automatically becomes Leader. On this basis, several 
Followers and Observers can be added.
 
+#### Configure and start Follower or Observer.
+
+ Follower and Observer are configured with Leader. The following commands need 
to be executed at the first startup:
+
+`bin/start_fe.sh --helper host:edit_log_port --daemon`
+
+The host is the node IP of Leader, and the edit\_log\_port in Lead's 
configuration file fe.conf. The --helper is only required when 
follower/observer is first startup.
+
+#### Add Follower or Observer to the cluster
+
 Add Follower or Observer. Connect to the started FE using mysql-client and 
execute:
 
 `ALTER SYSTEM ADD FOLLOWER "follower_host:edit_log_port";`
@@ -61,12 +71,6 @@ or
 
 The follower\_host and observer\_host is the node IP of Follower or Observer, 
and the edit\_log\_port in its configuration file fe.conf.
 
-Configure and start Follower or Observer. Follower and Observer are configured 
with Leader. The following commands need to be executed at the first startup:
-
-`bin/start_fe.sh --helper host:edit_log_port --daemon`
-
-The host is the node IP of Leader, and the edit\_log\_port in Lead's 
configuration file fe.conf. The --helper is only required when 
follower/observer is first startup.
-
 View the status of Follower or Observer. Connect to any booted FE using 
mysql-client and execute:
 
 ```SHOW PROC '/frontends';```
@@ -133,8 +137,8 @@ DECOMMISSION clause:
 > 3. The order **does not necessarily carry out successfully**. For example, 
 > when the remaining BE storage space is insufficient to accommodate the data 
 > on the offline BE, or when the number of remaining machines does not meet 
 > the minimum number of replicas, the command cannot be completed, and the BE 
 > will always be in the state of `SystemDecommissioned` as true.
 > 4. The progress of DECOMMISSION can be viewed through `SHOW PROC 
 > '/backends';` Tablet Num, and if it is in progress, Tablet Num will continue 
 > to decrease.
 > 5. The operation can be carried out by:
-     >                 ```CANCEL ALTER SYSTEM DECOMMISSION BACKEND 
"be_host:be_heartbeat_service_port";```
-     >         The order was cancelled. When cancelled, the data on the BE 
will maintain the current amount of data remaining. Follow-up Doris re-load 
balancing
+>              ```CANCEL ALTER SYSTEM DECOMMISSION BACKEND 
"be_host:be_heartbeat_service_port";```
+>      The order was cancelled. When cancelled, the data on the BE will 
maintain the current amount of data remaining. Follow-up Doris re-load balancing
 
 **For expansion and scaling of BE nodes in multi-tenant deployment 
environments, please refer to the [Multi-tenant Design 
Document](../multi-tenant.md).**
 
@@ -147,3 +151,4 @@ There is no rigid requirement for the number of Broker 
instances. Usually one ph
 ```ALTER SYSTEM DROP ALL BROKER broker_name;```
 
 Broker is a stateless process that can be started or stopped at will. Of 
course, when it stops, the job running on it will fail. Just try again.
+
diff --git 
a/docs/zh-CN/docs/admin-manual/cluster-management/elastic-expansion.md 
b/docs/zh-CN/docs/admin-manual/cluster-management/elastic-expansion.md
index f02cc566b2..e7653682dc 100644
--- a/docs/zh-CN/docs/admin-manual/cluster-management/elastic-expansion.md
+++ b/docs/zh-CN/docs/admin-manual/cluster-management/elastic-expansion.md
@@ -51,6 +51,18 @@ FE 分为 Leader,Follower 和 Observer 三种角色。 默认一个集群,
 
 第一个启动的 FE 自动成为 Leader。在此基础上,可以添加若干 Follower 和 Observer。
 
+#### 配置及启动 Follower 或 Observer
+
+这里 Follower 和 Observer 的配置同 Leader 的配置。
+
+首先第一次启动时,需执行以下命令:
+
+`./bin/start_fe.sh --helper leader_fe_host:edit_log_port --daemon`
+
+其中 leader\_fe\_host 为 Leader 所在节点 ip, edit\_log\_port 在 Leader 的配置文件 fe.conf 
中。--helper 参数仅在 follower 和 observer 第一次启动时才需要。
+
+#### 将 Follower 或 Observer 加入到集群
+
 添加 Follower 或 Observer。使用 mysql-client 连接到已启动的 FE,并执行:
 
 `ALTER SYSTEM ADD FOLLOWER "follower_host:edit_log_port";`
@@ -61,12 +73,6 @@ FE 分为 Leader,Follower 和 Observer 三种角色。 默认一个集群,
 
 其中 follower\_host和observer\_host 为 Follower 或 Observer 所在节点 ip,edit\_log\_port 
在其配置文件 fe.conf 中。
 
-配置及启动 Follower 或 Observer。Follower 和 Observer 的配置同 Leader 的配置。第一次启动时,需执行以下命令:
-
-`./bin/start_fe.sh --helper leader_fe_host:edit_log_port --daemon`
-
-其中 leader\_fe\_host 为 Leader 所在节点 ip, edit\_log\_port 在 Leader 的配置文件 fe.conf 
中。--helper 参数仅在 follower 和 observer 第一次启动时才需要。
-
 查看 Follower 或 Observer 运行状态。使用 mysql-client 连接到任一已启动的 FE,并执行:SHOW PROC 
'/frontends'; 可以查看当前已加入集群的 FE 及其对应角色。
 
 > FE 扩容注意事项:
@@ -139,3 +145,5 @@ Broker 实例的数量没有硬性要求。通常每台物理机部署一个即
 ```ALTER SYSTEM DROP ALL BROKER broker_name;```
 
 Broker 是无状态的进程,可以随意启停。当然,停止后,正在其上运行的作业会失败,重试即可。
+
+


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to