首批通过分布式安全可靠测评,为关键业务系统打造
unit_balance_resource_weight
更新时间:2026-04-10 11:58:02
说明
由于 V4.x 升级为单机日志流架构,副本以日志流为粒度分布,负载均衡模块无法直接控制分区均衡,该配置项已不再适用,从 V4.0.0 版本开始删除。
unit_balance_resource_weight 用于设置 UNIT 均衡策略中使用的资源权重,一般不需要手工配置。
| 属性 | 描述 |
|---|---|
| 参数类型 | String |
| 默认值 | 空值 |
| 取值范围 | NULL |
| 是否重启 OBServer 节点生效 | 否 |
注意
- 默认情况下,权重值为空。如果设置了权重值,所有权重值的总和必须为 100。
- 当打开
enable_unit_balance_resource_weight时,unit_balance_resource_weight配置才能生效。