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

Add shutdown gossip state to prevent timeouts during rolling restarts

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 2.0.15, 2.1.5
    • Component/s: None
    • Labels:
      None
    • Severity:
      Normal

      Description

      In CASSANDRA-3936 we added a gossip shutdown announcement. The problem here is that this isn't sufficient; you can still get TOEs and have to wait on the FD to figure things out. This happens due to gossip propagation time and variance; if node X shuts down and sends the message to Y, but Z has a greater gossip version than Y for X and has not yet received the message, it can initiate gossip with Y and thus mark X alive again. I propose quarantining to solve this, however I feel it should be a -D parameter you have to specify, so as not to destroy current dev and test practices, since this will mean a node that shuts down will not be able to restart until the quarantine expires.

        Attachments

        1. 8336.txt
          4 kB
          Brandon Williams
        2. 8336-v2.txt
          8 kB
          Brandon Williams
        3. 8336-v3.txt
          10 kB
          Brandon Williams
        4. 8336-v4.txt
          11 kB
          Brandon Williams
        5. 8366-v5.txt
          12 kB
          Brandon Williams

          Issue Links

            Activity

              People

              • Assignee:
                brandon.williams Brandon Williams
                Reporter:
                brandon.williams Brandon Williams
                Authors:
                Brandon Williams
                Reviewers:
                Richard Low
                Tester:
                Philip Thompson
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: