Overview
balancer_task_timeout specifies the timeout period for background tasks such as load balancing.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can execute theSHOW PARAMETERSstatement to query this parameter.Modify parameters
Only the
systenant can modify this parameter. User tenants cannot modify it.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Time |
| Default Value | 20m, which means 20 minutes |
| Value range | [1s, +∞) |
| Modifiable | Yes, you can use theALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | No, the setting takes effect immediately. |
Configuration example
Set the timeout period for backend tasks such as load balancing to 20 minutes.
obclient> ALTER SYSTEM SET balancer_task_timeout='20m';