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

Add shutdown gossip state to prevent timeouts during rolling restarts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.0.15, 2.1.5
    • None
    • None
    • 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. 8366-v5.txt
          12 kB
          Brandon Williams
        2. 8336-v4.txt
          11 kB
          Brandon Williams
        3. 8336-v3.txt
          10 kB
          Brandon Williams
        4. 8336-v2.txt
          8 kB
          Brandon Williams
        5. 8336.txt
          4 kB
          Brandon Williams

        Issue Links

          Activity

            People

              brandon.williams Brandon Williams
              brandon.williams Brandon Williams
              Brandon Williams
              Richard Low
              Philip Thompson Philip Thompson
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: