rootservice_cluster_name specifies different attributes for different login methods.
If you log in by using a service name, this parameter specifies the default standby cluster in read/write splitting mode.
If you log in without using a service name, this parameter specifies the default cluster name of
rootservice_listor a cloud user.
Note
This parameter was updated in OceanBase Database Proxy (ODP) V4.3.3 to distinguish between logins with a service name and those without a service name. If you log in by using a service name, this parameter specifies the default standby cluster in read/write splitting mode.
| Attribute | Description |
|---|---|
| Parameter type | String |
| Default value | undefined |
| Value range | N/A |
| Effective only after ODP restart | Yes |
References
For more information about
rootservice_list, see rootservice_list.For more information about service names, see Automatic routing to the primary/standby tenants.