Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-19576

[GSS](7.3.z) JBDC_PING has a possibility not to discover other members and create singleton clusters (split-brain issue) when restarting a coordinator node

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.3.3.CR1, 7.3.3.GA
    • 7.3.0.GA
    • Clustering
    • None

    Description

      After the change for JGRP-2199, JDBC_PING deletes all entries from the table during the shutdown of the coordinator node.

      This behavior has a possibility to cause a split-brain when restarting a coordinator node. Because, as all entries are lost in the following scenario, the restarting node can not find any information about existing nodes from the table and does not form a cluster.

      0. node1 and node2 form a cluster. The node1 is a coordinator.
      1. Trigger a restart of the node1
      2. The node1 removes their node information from the table
      3. The node2 becomes a new coordinator
      4. The node2 updates their node information in the table
      5. The node1 clears all entries from the table
      6. The node1 starts again
      7. The node1 does not join the existing cluster because there's no node information in the table

      Note: If step 5 happens before step 4, the split-brain issue does not happen. However, as step 4 and step 5 happen on different nodes, these steps can happen in parallel. So, the order is undefined. So, for example, if the shutdown of node1 takes a long time, there's a high possibility to face this issue.

      Attachments

        Issue Links

          Activity

            People

              spyrkob Bartosz Spyrko-Smietanko
              rhn-support-mmiura Masafumi Miura
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: