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 9d165c6bba [docs](fe.conf) add configuration for decommission_tablet_check_threshold. (#14355) 9d165c6bba is described below commit 9d165c6bba175a02ba2c068dffc6f8b210ee24b4 Author: wxy <dut.xian...@gmail.com> AuthorDate: Wed Nov 23 12:58:52 2022 +0800 [docs](fe.conf) add configuration for decommission_tablet_check_threshold. (#14355) --- docs/en/docs/admin-manual/config/fe-config.md | 12 ++++++++++++ docs/zh-CN/docs/admin-manual/config/fe-config.md | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/docs/en/docs/admin-manual/config/fe-config.md b/docs/en/docs/admin-manual/config/fe-config.md index be81dfb89c..758562ebd3 100644 --- a/docs/en/docs/admin-manual/config/fe-config.md +++ b/docs/en/docs/admin-manual/config/fe-config.md @@ -427,6 +427,18 @@ MasterOnly:true 3. After the decommission operation is completed, the BE will not be dropped. At this time, cancel the decommission status of the BE. Then the data will start to balance from other BE nodes back to this node. At this time, the data will be evenly distributed to all disks of the BE. 4. Perform steps 2 and 3 for all BE nodes in sequence, and finally achieve the purpose of disk balancing for all nodes +### decommission_tablet_check_threshold + +Default:5000 + +IsMutable:true + +MasterOnly:true + +This configuration is used to control whether the Master FE need to check the status of tablets on decommissioned BE. If the size of tablets on decommissioned BE is lower than this threshold, FE will start a periodic check, if all tablets on decommissioned BE have been recycled, FE will drop this BE immediately. + +For performance consideration, please don't set a very high value for this configuration. + ### period_of_auto_resume_min Default:5 (s) diff --git a/docs/zh-CN/docs/admin-manual/config/fe-config.md b/docs/zh-CN/docs/admin-manual/config/fe-config.md index 85f8121cdf..573edcc278 100644 --- a/docs/zh-CN/docs/admin-manual/config/fe-config.md +++ b/docs/zh-CN/docs/admin-manual/config/fe-config.md @@ -413,6 +413,18 @@ show data (其他用法:HELP SHOW DATA) 3. decommission 操作完成后,该 BE 不会被删除。此时,取消掉该 BE 的 decommission 状态。则数据会开始从其他 BE 节点均衡回这个节点。此时,数据将会均匀的分布到该 BE 的所有磁盘上。 4. 对所有 BE 节点依次执行 2,3 两个步骤,最终达到所有节点磁盘均衡的目的。 +### `decommission_tablet_check_threshold` + +默认值: 5000 + +是否可以动态配置: true + +是否为 Master FE 节点独有的配置项:true + +该配置用于控制FE是否执行检测(Decommission)BE上Tablets状态的阈值。如果(Decommission)BE上的Tablets个数大于0但小于该阈值,FE会定时对该BE开启一项检测, + +如果该BE上的Tablets数量大于0但是所有Tablets均处于被回收的状态,那么FE会立即下线该(Decommission)BE。注意,不要把该值配置的太大,不然在Decommission阶段可能会对FE造成性能压力。 + ### `period_of_auto_resume_min` 默认值:5 (s) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org