Note
This parameter is available starting with V2.2.77.
Description
data_storage_error_tolerance_time specifies the maximum time that OceanBase Database waits for a data disk to return to the normal state after the disk status is set to ERROR.
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 | Time |
| Default value | 300s |
| Value range | [10s, 7200s] |
| 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 an unexpected I/O failure occurs, the I/O Manager of OceanBase Database attempts to detect the status of the data disk through a probe thread. If the disk status has not returned to normal after the time specified by this parameter, the probe thread sets the disk status to ERROR. This status triggers events such as shutdown to prevent requests sent to this node from failing.
Examples
Set the maximum time that OceanBase Database waits for a data disk to return to the normal state after the disk status is set to ERROR to 300s.
obclient> ALTER SYSTEM SET data_storage_error_tolerance_time = 300s;