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

Decommissioned nodes are willing to rejoin the cluster if restarted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 3.0 alpha 1
    • None
    • None
    • Normal

    Description

      This issue comes from the Cassandra user group.

      If a node which was successfully decommissioned gets restarted with its data directory in tact, it will rejoin the cluster immediately going to UN and beginning to serve client requests.

      This is wrong - the node has consistency issues, having missed any writes while it was offline because no hinted handoffs were being kept. And in the best case scenario (it's spotted and remediated immediately), near-100% overstreaming will still occur.

      Also, whatever reasons the operator had for decommissioning the node would presumably still be valid, so this action may threaten cluster stability if the node is underpowered or suffering hardware issues.

      But what elevates this to critical is that if the node had been offline longer than gc_grace_seconds, it may cause permanent and unrecoverable consistency issues due to data resurrection.

      Recommendation:

      A node should remember that it was decommissioned and refuse to rejoin a cluster without at least a -Dflag forcing it to.

      Attachments

        1. 8801.txt
          4 kB
          Brandon Williams
        2. 8801-v2.txt
          4 kB
          Carl Yeksigian

        Issue Links

          Activity

            People

              brandon.williams Brandon Williams
              mightye Eric Stevens
              Brandon Williams
              Carl Yeksigian
              Jim Witschey Jim Witschey
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: