Note
For V4.1.0, this parameter is available starting with V4.1.0.
Description
log_storage_warning_tolerance_time specifies the time from when I/O fails on a log disk to when the disk is marked as faulty and a primary-to-observer switchover is triggered.
Privilege requirements
Query the parameter
The sys tenant and all user tenants can use the
SHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
Only the sys tenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Time |
| Default value | 5s |
| Value range | [1s,300s] |
| 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.
NoteStarting from V4.2.5 BP2, this parameter is effective dynamically in V4.2.5. |
Examples
Set the time from when I/O fails on a log disk to when the disk is marked as faulty and a primary-to-observer switchover is triggered to 5s.
obclient> ALTER SYSTEM SET log_storage_warning_tolerance_time = '5s';