Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-5240

React to redirect_url from backends

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 25.08.0
    • Protocol
    • None
    • MXS-SPRINT-217

    Description

      If the MariaDB server sends a packet with a redirect_url in it, MaxScale should react to it somehow.

      Currently MaxScale ignores it and does nothing. This causes the client to potentially redirect away from MaxScale. This doesn't seem like behavior that's really desirable if the clients are supposed to connect via MaxScale.

      Removing the redirection from the packet and putting the server into either Maintenance or Draining states would be better. This has the benefit of doing what's expected of a "client" when the server is redirecting connections. The removal could be implemented as either a removal of the variable from the packet or by mangling the name into something with the same length (e.g. from redirect_url to org_redr_url) to avoid having to modify the packet length. The latter option would also have the benefit of still showing the information to the client.

      Attachments

        Activity

          People

            markus makela markus makela
            markus makela markus makela
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.