Cassandra
  1. Cassandra
  2. CASSANDRA-3936

Gossip should have a 'goodbye' command to indicate shutdown

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Fix Version/s: 1.1.1, 1.2.0 beta 1
    • Component/s: Core
    • Labels:
      None

      Description

      Cassandra is crash-only, however there are times when you know you are taking the node down (rolling restarts, for instance) where it would be advantageous to instantly have the node marked down rather than wait on the FD. We could also improve the efficacy of the 'disablegossip' command this way as well.

      1. 3936.txt
        13 kB
        Brandon Williams

        Activity

        Hide
        Brandon Williams added a comment -

        This could be helpful to mitigate the problem of CASSANDRA-2540 too.

        Show
        Brandon Williams added a comment - This could be helpful to mitigate the problem of CASSANDRA-2540 too.
        Hide
        Brandon Williams added a comment -

        Patch to send gossip shutdown messages when the gossiper is stopped.

        Show
        Brandon Williams added a comment - Patch to send gossip shutdown messages when the gossiper is stopped.
        Hide
        Brandon Williams added a comment -

        Updated version obviates the need to quarantine after shutdown.

        Show
        Brandon Williams added a comment - Updated version obviates the need to quarantine after shutdown.
        Hide
        Brandon Williams added a comment -

        Sleep for one gossip interval before announcing shutdown to ensure there isn't already a timed task launched that will make the node flap.

        Show
        Brandon Williams added a comment - Sleep for one gossip interval before announcing shutdown to ensure there isn't already a timed task launched that will make the node flap.
        Hide
        Vijay added a comment -

        +1

        Show
        Vijay added a comment - +1
        Hide
        Brandon Williams added a comment -

        Committed.

        Show
        Brandon Williams added a comment - Committed.

          People

          • Assignee:
            Brandon Williams
            Reporter:
            Brandon Williams
            Reviewer:
            Vijay
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development