Note
This parameter is available starting with V1.4.
Description
enable_rereplication specifies whether to enable automatic migration and replication of log stream replicas.
Privilege requirements
Query the parameter
The
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Boolean |
| Default value | True |
| 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
When the enable_rereplication parameter is disabled (value is False):
Automatic migration and replication of log stream replicas cannot be initiated in the following scenarios:
Adding or removing replicas by changing the locality
Unit migration (excluding units on an
INACTIVEOBServer node)Changing the
UNIT_NUMparameter
Automatic migration and replication of log stream replicas can still be initiated in the following scenarios:
- Unit migration on an
INACTIVEOBServer node
- Unit migration on an
Examples
Enable automatic migration and replication of log stream replicas.
obclient> ALTER SYSTEM SET enable_rereplication = True;