weakread_weight_zone specifies the weight of each zone in a cluster. This parameter takes effect only when proxy_route_policy is set to WEAKREAD_WEIGHT_LOAD_BALANCE.
Note
This parameter is introduced in OceanBase Database Proxy (ODP) V4.3.2.
This parameter can be configured only at the tenant or VIP level, and must not be set to an empty string. Otherwise, an error is returned.
| Attribute | Description |
|---|---|
| Parameter type | String |
| Default value | "", which indicates an empty string |
| Value range | By default, all zones in a cluster have the same weight. The value is in the zone_name:num format. zone_name specifies the unique name of the zone for which a weight is to be set. You can enter the name of a zone that does not exist. In this case, the zone does not participate in weight calculation. num specifies the weight of the zone, which is an integer within the range of [0, 100]. Separate multiple zone names with semicolons (;). |
| Effective upon ODP restart | No |