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

Unmonitored server shows up as "running"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 2.3.11
    • 2.5.0
    • Monitor
    • None
    • Linux Centos 7.6

    Description

      When a server is defined, but is not registered with a monitor, for example if it has been forgotten, then maxctrl will show this server in the state "Running" always. The reasonable default could be "Down" or, even better, a separate "Unknown" status.
      For example:

      $ cat /etc/maxscale.cnf
      [maxscale]
      threads=1
       
      [foobar]
      type=server
      address=www.google.com
      port=3306
      protocol=MariaDBBackend
      $ maxctrl list servers
      ┌─────────┬────────────────┬───────┬─────────────┬─────────────────┬──────┐
      │ Server  │ Address        │ Port  │ Connections │ State           │ GTID │
      ├─────────┼────────────────┼───────┼─────────────┼────────────────┼──────┤
      │ foobar  │ www.google.com │ 3306  │ 0           │ Running         │      │
      └─────────┴────────────────┴───────┴─────────────┴─────────────────┴──────┘
      

      Attachments

        Activity

          People

            markus makela markus makela
            karlsson Anders Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.