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

Connection Redirection Mechanism implementation

    XMLWordPrintable

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

            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:

                Time Tracking

                  Estimated:
                  Original Estimate - 2d
                  2d
                  Remaining:
                  0d
                  Logged:
                  Time Not Required
                  Not Specified

                  Git Integration

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