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

Stream hints on decommission

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 1.2.1
    • Component/s: None

      Description

      Looks like decommissioning a node (nodetool decommission) will stream all the non-system table data out to it's appropriate peers (StorageService.unbootstrap()), but hints will disappear with the node. Let's send those hints to another peer (preferably in the same rack, and hopefully at least the same datacenter) them to be replayed.

      The use case here is auto-scaling vnode clusters in ec2. When auto-scaling down, I'd want to call decommission on the node to leave the ring (and be terminated), and still have all of it's artifacts (data and hints) survive.

        Attachments

        1. 0001-CASSANDRA-5128-stream-hints-on-decommission.patch
          6 kB
          Jason Brown
        2. 5128-v2.txt
          7 kB
          Jonathan Ellis
        3. 5128-v3.patch
          8 kB
          Jason Brown

          Issue Links

            Activity

              People

              • Assignee:
                jasobrown Jason Brown
                Reporter:
                jasobrown Jason Brown
                Authors:
                Jason Brown
                Reviewers:
                Jonathan Ellis
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: