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

A single remaining master is valid for readconnroute configured with 'router_options=slave'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2, 2.1.13, 2.1.14, 2.1.15, 2.1.16, 2.1.17
    • Fix Version/s: 2.2.8
    • Component/s: readconnroute
    • Labels:
      None

      Description

      With a configuration like

      [SomeService]
      type=service
      router=readconnroute
      router_options=slave
      

      readconnroute will still select a master if that is the only server that is left.

      However, later, from 2.1.13 onwards, when readconnroute asseses in connection_is_valid() whether the connection is valid, it will reject it and thus the client will get no connection.

        Attachments

          Activity

            People

            Assignee:
            johan.wikman Johan Wikman
            Reporter:
            johan.wikman Johan Wikman
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: