Note
This parameter is available starting with V4.3.4.
Description
arbitration_degradation_policy specifies the degradation strategy.
Privilege requirements
Query the parameter
You can execute the
SHOW PARAMETERSstatement or query theGV$OB_PARAMETERSview to obtain the value of this parameter in thesystenant and all user tenants.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | String |
| Default value | LS_POLICY |
| Value range |
|
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Considerations
If the value of this parameter is CLUSTER_POLICY, the log stream leader checks the network connectivity between itself and the RS before executing the arbitration degradation. If the network is disconnected, the arbitration degradation is not executed, and the leader is removed. The leader is then switched to a replica that is connected to the RS. After being removed, the replica cannot be elected as the leader again. It will periodically check the network connectivity with the RS. When the network is restored, the replica can be elected as the leader again.
Examples
Set the arbitration degradation strategy of the log stream to CLUSTER_POLICY.
obclient> ALTER SYSTEM SET arbitration_degradation_policy = 'CLUSTER_POLICY';
