server_permanent_offline_time specifies the time threshold for heartbeat missing at which a server is considered permanently offline. Data replicas on a permanently offline server needs to be automatically supplemented.
| Property | Description |
|---|---|
| Parameter type | Time |
| Default value | 3600s |
| Value range | [20s, +∞) |
| Effective upon OBServer restart | No |
After this parameter is configured, the system starts replicating data replicas on a permanently offline server only after the replicas have been missing for the specified time. This can avoid unnecessary replica replication.
The following describes the applicable scenarios of this parameter and its recommended values:
OceanBase version upgrade: We recommend that you set the value of this parameter to
72h.Note
When you upgrade OceanBase V2.1.2 or later by using OCP V2.3.5 or later, the system automatically sets this parameter to
72h.OBServer hardware replacement: We recommend that you set the value of this parameter to
4h.OBServer rollout with the data directory cleared: We recommend that you set the value of this parameter to
10mto achieve fast cluster rollout.