Note
For V2.2.77, this parameter is available starting with V2.2.77.
Description
data_storage_error_tolerance_time specifies the maximum time that the system tolerates when the data disk status is set to ERROR.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.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 data disk status by using a probe thread. If the data disk status has not returned to normal after the time specified by this parameter, the probe thread sets the data disk status to ERROR. This status triggers events such as shutdown to prevent requests sent to the node from failing.
Examples
Set the maximum time that the system tolerates when the data disk status is set to ERROR to 300s.
obclient> ALTER SYSTEM SET data_storage_error_tolerance_time = 300s;