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

Session command with lazy_connect causes master to be "lost"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.2
    • Fix Version/s: 2.4.3
    • Component/s: readwritesplit
    • Labels:
      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

            Assignee:
            markus makela markus makela
            Reporter:
            markus makela markus makela
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: