Uploaded image for project: 'MariaDB Connector/Python'
  1. MariaDB Connector/Python
  2. CONPY-60

Support redirection mechanism

    XMLWordPrintable

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

          Activity

            People

              georg Georg Richter
              diego dupin Diego Dupin
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.