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

Mantenance bit(s) should persist after maxscale restart

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.5, 2.1.2
    • Fix Version/s: 2.2.0
    • Component/s: maxadmin
    • Labels:
      None
    • Sprint:
      2017-39

      Description

      On practice it may be very unpleasant situation when maxscale service is restarted and server 'maintenance' bits are not preserved.
      The restart may happen accidentally or because of some software/hardware problem or result of software bug or result of threat, etc

      Thus server 'maintenance' flag must survive service restart.

      MaxScale> list servers
      Servers.
      -------------------+-----------------+-------+-------------+--------------------
      Server             | Address         | Port  | Connections | Status              
      -------------------+-----------------+-------+-------------+--------------------
      server1            | 127.0.0.1       |  3307 |           0 | Maintenance, Master, Running
      -------------------+-----------------+-------+-------------+--------------------
      MaxScale> exit
      $ killall maxscale
      Shutting down MaxScale
      $ bin/maxscale --basedir=$(pwd)
      $ bin/maxadmin 
      MaxScale> list servers
      Servers.
      -------------------+-----------------+-------+-------------+--------------------
      Server             | Address         | Port  | Connections | Status              
      -------------------+-----------------+-------+-------------+--------------------
      server1            | 127.0.0.1       |  3307 |           0 | Master, Running
      -------------------+-----------------+-------+-------------+--------------------
      

        Attachments

          Activity

            People

            Assignee:
            markus makela markus makela
            Reporter:
            anikitin Andrii Nikitin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration