[typo][doc]modify tablet_repair_and_balance incorrect parameter descriptions. (#22532)
This commit is contained in:
@ -630,7 +630,7 @@ The following adjustable parameters are all configurable parameters in fe.conf.
|
||||
* storage\_high\_watermark\_usage\_percent 和 storage\_min\_left\_capacity\_bytes
|
||||
|
||||
* Description: These two parameters represent the upper limit of the maximum space utilization of a disk and the lower limit of the minimum space remaining, respectively. When the space utilization of a disk is greater than the upper limit or the remaining space is less than the lower limit, the disk will no longer be used as the destination address for balanced scheduling.
|
||||
* Default values: 0.85 and 1048576000 (1GB)
|
||||
* Default values: 0.85 and 2097152000 (2GB)
|
||||
* Importance:
|
||||
|
||||
* disable\_balance
|
||||
|
||||
@ -228,7 +228,7 @@ Doris 会自动进行集群内的副本均衡。目前支持两种均衡策略
|
||||
|
||||
我们用 ClusterLoadStatistics(CLS)表示一个 cluster 中各个 Backend 的负载均衡情况。TabletScheduler 根据这个统计值,来触发集群均衡。我们当前通过 **磁盘使用率** 和 **副本数量** 两个指标,为每个BE计算一个 loadScore,作为 BE 的负载分数。分数越高,表示该 BE 的负载越重。
|
||||
|
||||
磁盘使用率和副本数量各有一个权重系数,分别为 **capacityCoefficient** 和 **replicaNumCoefficient**,其 **和衡为1**。其中 capacityCoefficient 会根据实际磁盘使用率动态调整。当一个 BE 的总体磁盘使用率在 50% 以下,则 capacityCoefficient 值为 0.5,如果磁盘使用率在 75%(可通过 FE 配置项 `capacity_used_percent_high_water` 配置)以上,则值为 1。如果使用率介于 50% ~ 75% 之间,则该权重系数平滑增加,公式为:
|
||||
磁盘使用率和副本数量各有一个权重系数,分别为 **capacityCoefficient** 和 **replicaNumCoefficient**,其 **和恒为1**。其中 capacityCoefficient 会根据实际磁盘使用率动态调整。当一个 BE 的总体磁盘使用率在 50% 以下,则 capacityCoefficient 值为 0.5,如果磁盘使用率在 75%(可通过 FE 配置项 `capacity_used_percent_high_water` 配置)以上,则值为 1。如果使用率介于 50% ~ 75% 之间,则该权重系数平滑增加,公式为:
|
||||
|
||||
`capacityCoefficient= 2 * 磁盘使用率 - 0.5`
|
||||
|
||||
@ -628,7 +628,7 @@ TabletScheduler 在每轮调度时,都会通过 LoadBalancer 来选择一定
|
||||
* storage\_high\_watermark\_usage\_percent 和 storage\_min\_left\_capacity\_bytes
|
||||
|
||||
* 说明:这两个参数,分别表示一个磁盘的最大空间使用率上限,以及最小的空间剩余下限。当一块磁盘的空间使用率大于上限,或者剩余空间小于下限时,该磁盘将不再作为均衡调度的目的地址。
|
||||
* 默认值:0.85 和 1048576000 (1GB)
|
||||
* 默认值:0.85 和 2097152000 (2GB)
|
||||
* 重要性:中
|
||||
|
||||
* disable\_balance
|
||||
|
||||
Reference in New Issue
Block a user