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

False error message about master not being in use

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.2
    • Component/s: readwritesplit
    • Labels:
      None

      Description

      When MaxScale is run under heavy load, it occasionally logs the following error message.

      Could not find master among the backend servers. Previous master's state : Master is not in use
      

      This can happen if a network disconnection happens before a query from the client has finished processing.

      Here is an excerpt from a log created with a modified version of 2.0.1 with extra logging and session identifiers added to the log messages.

      2016-10-16 14:34:08   notice : 1972: Closing bref: server1
      2016-10-16 14:34:08   error  : 1972 Backend hangup error handling.
      2016-10-16 14:34:08   notice : 1972: Closing bref: server3
      2016-10-16 14:34:08   error  : 1972 Backend hangup error handling.
      2016-10-16 14:34:08   notice : 1972: Closing bref: server2
      2016-10-16 14:34:08   error  : 1972 Backend hangup error handling.
      2016-10-16 14:34:08   notice : 1972: Closing bref: server4
      2016-10-16 14:34:08   error  : 1972 Backend hangup error handling.
      2016-10-16 14:34:08   error  : 1972 Could not find master among the backend servers. Previous master's state : Master is not in use
      

      This error message should not be logged if the master server was deliberately taken out of use.

        Attachments

          Issue Links

            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:

                  Git Integration