standby_db_fetch_log_rpc_timeout specifies the timeout period of remote procedure call (RPC) requests sent by a standby cluster for pulling logs. If the specified timeout period is reached, the log transfer service of the standby cluster determines that the requested server in the primary cluster is unavailable and switches to another server.
Note
This parameter was introduced in OceanBase Database V4.2.0.
| Attribute | Description |
|---|---|
| Type | Time |
| Default value | 15s |
| Value range | [2s, +∞) |
| Effective upon OBServer node restart | No |
Examples
In the sys tenant of the cluster where the standby tenant resides, execute the following statement to set the timeout period of RPC requests sent by the standby cluster for pulling logs:
alter system set standby_db_fetch_log_rpc_timeout = '30s' tenant = 'standby_tenant';
In a user tenant, execute the following statement to set the timeout period of RPC requests sent by the standby cluster for pulling logs:
alter system set standby_db_fetch_log_rpc_timeout = '30s';