Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-731

Connection Redirection Mechanism implementation

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • None
    • 3.4.0
    • Other
    • None

    Description

      _emphasized text_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://<host>:<port>/key=value&key2=value2" 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 will be cached for some time (next 10 minutes). 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

            diego dupin Diego Dupin created issue -
            diego dupin Diego Dupin made changes -
            Field Original Value New Value
            diego dupin Diego Dupin made changes -
            Key MDEV-20567 CONJ-731
            Project MariaDB Server [ 10000 ] MariaDB Connector/J [ 10301 ]
            diego dupin Diego Dupin made changes -
            Description The goal is to implement proxy redirection protocol describe in MDEV-15935 :
            Connection process ends with [OK_Packet |https://mariadb.com/kb/en/ok_packet/] that may indicate redirection mechanism with the format
            "Location: mysql://&lt;host&gt;:&lt;port&gt;/key=value&key2=value2" 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 will be cached for some time (next 10 minutes). If some folling connection establishment use cache and fail to connect, the connector will then try to reconnect to initial host silently.
            The goal is to implement proxy redirection protocol describe in MDEV-15935 :
            Connection process ends with [OK_Packet |https://mariadb.com/kb/en/ok_packet/] that may indicate redirection mechanism with the format
            "Location: mysql://&lt;host&gt;:&lt;port&gt;/key=value&key2=value2" 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 will be cached for some time (next 10 minutes). If some following connection establishment use a cache location and fail to connect, the connector will then try to reconnect to initial host silently.
            serg Sergei Golubchik made changes -
            diego dupin Diego Dupin made changes -
            Description The goal is to implement proxy redirection protocol describe in MDEV-15935 :
            Connection process ends with [OK_Packet |https://mariadb.com/kb/en/ok_packet/] that may indicate redirection mechanism with the format
            "Location: mysql://&lt;host&gt;:&lt;port&gt;/key=value&key2=value2" 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 will be cached for some time (next 10 minutes). If some following connection establishment use a cache location and fail to connect, the connector will then try to reconnect to initial host silently.
            _emphasized text_The goal is to implement proxy redirection protocol describe in MDEV-15935 :
            Connection process would ends with [OK_Packet |https://mariadb.com/kb/en/ok_packet/] that may indicate redirection mechanism with the format
            "Location: mysql://&lt;host&gt;:&lt;port&gt;/key=value&key2=value2" 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 will be cached for some time (next 10 minutes). If some following connection establishment use a cache location and fail to connect, the connector will then try to reconnect to initial host silently.
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 99604 ] MariaDB v4 [ 128221 ]
            diego dupin Diego Dupin made changes -
            Fix Version/s 3.4.0 [ 29821 ]
            julien.fritsch Julien Fritsch made changes -
            Fix Version/s 3.4 [ 29509 ]
            Fix Version/s 3.4.0 [ 29821 ]
            diego dupin Diego Dupin made changes -
            Component/s Other [ 12201 ]
            Fix Version/s 3.4.0 [ 29821 ]
            Fix Version/s 3.4 [ 29509 ]
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Closed [ 6 ]
            diego dupin Diego Dupin made changes -
            georg Georg Richter made changes -

            People

              diego dupin Diego Dupin
              diego dupin Diego Dupin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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