Details
-
Task
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
The goal is to implement proxy redirection protocol describe in MDEV-15935 :
Connection process would ends with OK_Packet that may indicate redirection mechanism with the format
"Location: mysql:[replication:|loadbalance:|sequential:]//<hostDescription>[,<hostDescription>...]/[database][?<key1>=<value1>[&<key2>=<value2>]]\n" in `info` field.
Connector, if having an option that permits redirection, must then redirect to the indicated location and close initial socket.
A successful redirection can be cached for some time if ttl is set. If some following connection establishment use a cache location and fail to connect, the connector will then try to reconnect to initial host silently.
Attachments
Issue Links
- relates to
-
MDEV-15935 Connection Redirection Mechanism in MariaDB Client/Server Protocol
- Closed