Note
For V2.2.77, this parameter is available starting with V2.2.77.
Description
data_storage_error_tolerance_time specifies the time that OceanBase Database tolerates the data disk status being 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 unexpected I/O failures occur, the I/O Manager of OceanBase Database attempts to detect the data disk status by using a detection thread. If the data disk status of the server has not been restored after the time specified by this parameter has elapsed, the detection 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 tolerance time for the data disk status being set to ERROR to 300s.
obclient> ALTER SYSTEM SET data_storage_error_tolerance_time = 300s;