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

Warning for xpandmon for 'leaving' / 'late, leaving' being an unknown sub-state

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 2.5, 6.4, 22.08
    • 6.4.4, 22.08.3
    • xpandmon
    • None

    Description

      We fixed MXS-4259
      but there is another case where substate involves 'leaving' that is still causing a similar warning in maxscale log.

      when a node is softfailed, it goes into leaving sub-state in xpand.

      2022-11-25 07:25:47   info   : [xpandmon] 'leaving' is an unknown sub-state for a Xpand node.
      

      if a late node is softfailed, it goes into 'late, leaving' sub-state

      2022-11-25 07:25:47   info   : [xpandmon] 'late, leaving' is an unknown sub-state for a Xpand node.
      

      On Xpand:

      Cluster Name:    cl5365893c212781ba
      Cluster Version: 6.1_beta1
      Cluster Status:   OK 
      Cluster Size:    9 nodes - 16 CPUs per Node
      Current Node:    karma016 - nid 1
       
      nid |  Hostname | Status |    Substate    |  IP Address  | TPS |      Used      |  Total 
      ----+-----------+--------+----------------+--------------+-----+----------------+--------
        1 |  karma016 |    OK  |         normal |   10.2.15.19 |   1 |  10.0M (0.00%) |  761.9G
        2 |  karma189 |    OK  |         normal |  10.2.12.141 |   0 |   9.8M (0.00%) |  761.9G
        3 |  karma180 |    OK  |         normal |  10.2.15.180 |   0 |   9.8M (0.00%) |  761.9G
        4 |  karma198 |    OK  |         normal |   10.2.13.98 |   0 |   9.8M (0.00%) |  761.9G
        5 |  karma192 |    OK  |         normal |   10.2.13.92 |   0 |   9.8M (0.00%) |  761.9G
        6 |  karma108 |    OK  |         normal |   10.2.13.91 |   0 |   9.8M (0.00%) |  761.9G
        7 |  karma153 |    OK  |         normal |  10.2.13.172 |   0 |   9.8M (0.00%) |  761.9G
        8 |  karma024 |    OK  |        leaving |   10.2.15.33 |   0 |   8.7M (0.00%) |  761.9G
       10 |  karma197 |    OK  |  late, leaving |   10.2.13.97 |   0 |   8.7M (0.00%) |  761.9G
      ----+-----------+--------+----------------+--------------+-----+----------------+--------
                                                                   1 |  86.2M (0.00%) |    6.7T
      

      On Maxscale:

      [root@oak013red ~]# maxctrl list servers
      ┌───────────────────────────┬─────────────────────────────┬──────┬─────────────┬──────────────────────────┬──────┬─────────────────┐
      │ Server                    │ Address                     │ Port │ Connections │ State                    │ GTID │ Monitor         │
      ├───────────────────────────┼─────────────────────────────┼──────┼─────────────┼──────────────────────────┼──────┼─────────────────┤
      │ xpand1                    │ karma016.colo.sproutsys.com │ 3306 │ 0           │ Master, Running          │      │ Backend-Monitor │
      ├───────────────────────────┼─────────────────────────────┼──────┼─────────────┼──────────────────────────┼──────┼─────────────────┤
      │ @@Backend-Monitor:node-1  │ 10.2.15.19                  │ 3306 │ 0           │ Master, Running          │      │                 │
      ├───────────────────────────┼─────────────────────────────┼──────┼─────────────┼──────────────────────────┼──────┼─────────────────┤
      │ @@Backend-Monitor:node-5  │ 10.2.13.92                  │ 3306 │ 0           │ Master, Running          │      │                 │
      ├───────────────────────────┼─────────────────────────────┼──────┼─────────────┼──────────────────────────┼──────┼─────────────────┤
      │ @@Backend-Monitor:node-2  │ 10.2.12.141                 │ 3306 │ 0           │ Master, Running          │      │                 │
      ├───────────────────────────┼─────────────────────────────┼──────┼─────────────┼──────────────────────────┼──────┼─────────────────┤
      │ @@Backend-Monitor:node-4  │ 10.2.13.98                  │ 3306 │ 0           │ Master, Running          │      │                 │
      ├───────────────────────────┼─────────────────────────────┼──────┼─────────────┼──────────────────────────┼──────┼─────────────────┤
      │ @@Backend-Monitor:node-6  │ 10.2.13.91                  │ 3306 │ 0           │ Master, Running          │      │                 │
      ├───────────────────────────┼─────────────────────────────┼──────┼─────────────┼──────────────────────────┼──────┼─────────────────┤
      │ @@Backend-Monitor:node-8  │ 10.2.15.33                  │ 3306 │ 0           │ Drained, Master, Running │      │                 │
      ├───────────────────────────┼─────────────────────────────┼──────┼─────────────┼──────────────────────────┼──────┼─────────────────┤
      │ @@Backend-Monitor:node-3  │ 10.2.15.180                 │ 3306 │ 0           │ Master, Running          │      │                 │
      ├───────────────────────────┼─────────────────────────────┼──────┼─────────────┼──────────────────────────┼──────┼─────────────────┤
      │ @@Backend-Monitor:node-7  │ 10.2.13.172                 │ 3306 │ 0           │ Master, Running          │      │                 │
      ├───────────────────────────┼─────────────────────────────┼──────┼─────────────┼──────────────────────────┼──────┼─────────────────┤
      │ @@Backend-Monitor:node-10 │ 10.2.13.97                  │ 3306 │ 0           │ Drained, Master, Running │      │                 │
      └───────────────────────────┴─────────────────────────────┴──────┴─────────────┴──────────────────────────┴──────┴─────────────────┘
      [root@oak013red ~]# 
      

      We can safely ignore this sub-state as well and instead of Warning we should make it Info or simply not show it.

      Attachments

        Activity

          People

            johan.wikman Johan Wikman
            AnuragKumar Anurag Kumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.