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

Reused connections get multiple replies to COM_CHANGE_USER

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.1.6
    • 2.1.7
    • Core
    • None

    Description

      When the COM_CHANGE_USER command is sent to the backend server, the response returned by the server sometimes contains two replies.

      This behavior is caused by the closing of a persistent connection while it is waiting for the COM_CHANGE_USER response. When the connection that was waiting for the reply is taken back into use before the reply arrives, another COM_CHANGE_USER is sent. This causes two replies to be sent to what appears to be a single COM_CHANGE_USER command.

      The fix to this is to extend the qualification checks for the connection pool to also check whether the connection is waiting for the response to the COM_CHANGE_USER.

      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.