Routing functions v5
bdr.create_proxy
Create a proxy
Synopsis
Parameters
proxy_name
— Name of the new proxy.node_group
— Name of the group to be used by the proxy.
bdr.alter_proxy_option
Change a proxy
Synopsis
Parameters
proxy_name
— Name of the proxy to be changed.config_key
— Key of the option in the proxy to be changed.config_value
— New value to be set for the given key.
bdr.drop_proxy
Drop a proxy
Synopsis
Parameters
proxy_name
— Name of the proxy to be dropped.
bdr.routing_leadership_transfer
Changing the routing leader transfers the leadership of the node group to another node
Synopsis
Parameters
node_group_name
— Name of group where the leadership transfer is requested.leader_name
— Name of node that will become write leader.transfer_method
— Type of the transfer, it can be "fast" or the default "strict" that checks the maximum lag.transfer_timeout
— Timeout of the leadership transfer, default is 10 seconds.