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

Session command with lazy_connect causes master to be "lost"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.4.2
    • 2.4.3
    • readwritesplit
    • None

    Description

      When the first query executed by a session configured with lazy_connect is SET autocommit=0, a connection to the master server is created. The connection creation code which picks a server to use does not update the current master server pointer if the selected server is a master. As a result of this, queries will fail and the session will be closed.

      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.