Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-14692

join_ring=false populates wrong value into StorageServiceMB and prevents join by nodetool

    XMLWordPrintableJSON

    Details

    • Severity:
      Normal

      Description

      Restarting a cassandra cluster member with option -Dcassandra.join_ring=false populates wrong value to its StorageServiceMB field Joined which causes the actual trigger to join via nodetool join to abort due to check if Join in StorageServiceMB is true. Via jconsole it's possible as there is no check.

      https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/tools/nodetool/Join.java

      nodetool status also shows that the node is up and in normal node, on the rest of the cluster node status is  DN

      nodetool gossipinfo states that the non joined node is in gossip state hibernate.

      Came across this issue while evaluated the problem of zombies to integrate into automation processes and the documentation states

      To avoid this problem, run nodetool repair on any restored node before rejoining it to its cluster. 

        Attachments

        1. Bildschirmfoto 2018-09-05 um 17.29.54.png
          593 kB
          Roland Johann
        2. cassandra1_log
          3 kB
          Roland Johann
        3. cassandra2_nodetool_status
          0.8 kB
          Roland Johann
        4. cassandra1_nodetool_status
          0.8 kB
          Roland Johann
        5. cassandra1_nodetool_gossipinfo
          1 kB
          Roland Johann
        6. cassandra2_nodetool_gossipinfo
          1 kB
          Roland Johann

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rolandjohann Roland Johann
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: