proxy_route_policy

2024-03-07 08:37:59  Updated

proxy_route_policy specifies the routing strategy for weak-consistency read requests on OceanBase Database Proxy (ODP), which defines the backend server to which client requests are routed for processing.

Attribute Description
Parameter type String
Default value Empty string
Value range
  • follower_first: Read requests are preferentially sent to followers. If all the followers are unavailable, the requests are sent to the leader.
  • follower_only: Read requests are sent only to the followers. If all the followers are unavailable, the connection to the client is terminated.
  • unmerge_follower_first: Read requests are preferentially sent to a follower of which the cluster is not in a major compaction.

Contact Us