Skip to content

Commit

Permalink
[Doc] add fe configuration related to shared-data workers balance (St…
Browse files Browse the repository at this point in the history
…arRocks#51328)

Signed-off-by: Kevin Xiaohua Cai <[email protected]>
Signed-off-by: 絵空事スピリット <[email protected]>
Co-authored-by: 絵空事スピリット <[email protected]>
  • Loading branch information
kevincai and EsoragotoSpirit authored Sep 25, 2024
1 parent a37e2a8 commit 292c1a2
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/en/administration/management/FE_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -3165,6 +3165,24 @@ ADMIN SET FRONTEND CONFIG ("key" = "value");
- Description: The table list of which compaction is disabled in shared-data mode. The format is `tableId1;tableId2`, seperated by semicolon, for example, `12345;98765`.
- Introduced in: v3.1.11

##### lake_enable_balance_tablets_between_workers

- Default: false
- Type: Boolean
- Unit: -
- Is mutable: Yes
- Description: Whether to balance the number of tablets among Compute Nodes during the tablet migration of cloud-native tables in a shared-data cluster. `true` indicates to balance the tablets among Compute Nodes, and `false` indicates to disabling this feature.
- Introduced in: v3.3.4

##### lake_balance_tablets_threshold

- Default: 0.15
- Type: Double
- Unit: -
- Is mutable: Yes
- Description: The threshold the system used to judge the tablet balance among workers in a shared-data cluster, The imbalance factor is calculated as `f = (MAX(tablets) - MIN(tablets)) / AVERAGE(tablets)`. If the factor is greater than `lake_balance_tablets_threshold`, a tablet balance will be triggered. This item takes effect only when `lake_enable_balance_tablets_between_workers` is set to `true`.
- Introduced in: v3.3.4

### Other

##### tmp_dir
Expand Down
18 changes: 18 additions & 0 deletions docs/zh/administration/management/FE_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -3171,6 +3171,24 @@ Compaction Score 代表了一个表分区是否值得进行 Compaction 的评分
- 描述:禁止存算分离内表 compaction 的 table id 名单。格式为 `tableId1;tableId2`,table id 之间用分号隔开,例如 `12345;98765`
- 引入版本:v3.1.11

##### lake_enable_balance_tablets_between_workers

- 默认值:false
- 类型:Boolean
- Unit: -
- 是否动态:是
- 描述:是否在存算分离集群内表的 Tablet 调度过程中平衡 CN 节点之间的 Tablet 数量。`true` 表示启用平衡 Tablet 数量,`false` 表示禁用此功能。
- 引入版本:v3.3.4

##### lake_balance_tablets_threshold

- 默认值:0.15
- 类型:Double
- Unit: -
- 是否动态:是
- 描述:系统用于判断存算分离集群中 Worker 之间 Tablet 分布平衡的阈值,不平衡因子的计算公式为 `f = (MAX(tablets) - MIN(tablets)) / AVERAGE(tablets)`。如果该因子大于 `lake_balance_tablets_threshold`,则会触发节点间 Tablet 调度。此配置项仅在 `lake_enable_balance_tablets_between_workers` 设为 `true`时生效。
- 引入版本:v3.3.4

### 其他

##### tmp_dir
Expand Down

0 comments on commit 292c1a2

Please sign in to comment.