cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jaakko Laine (JIRA)" <>
Subject [jira] Commented: (CASSANDRA-435) unbootstrap
Date Wed, 11 Nov 2009 13:13:39 GMT


Jaakko Laine commented on CASSANDRA-435:

I think there are two problems with this patchset:

(1) After the leaving node gossips STATE_LEFT, its gossiper continues to broadcast application
state, which still includes NORMAL (and LEAVING) from previous states. When other nodes get
STATE_LEFT, they remove all information about this node, which will cause them to interpret
the following gossip message as new join. Don't know if stopping the gossiper from broadcasting
anything more after STATE_LEFT, would cause other nodes to convict it. This would be the simplest
solution, but probably need to do something more creative to better handle all possible state

(2) When all data for a pending range has been streamed, the receiving node should inform
about the completion, otherwise pending ranges won't be removed. The simplest way would be
to just gossip its token again, as this will cause pending ranges for this endpoint to be
removed. Problem is the receiving end does not know when whole data transfer is complete as
tables are streamed one by one. Another possibility would be for the leaving node to gossip
these endpoints as a part of its STATE_LEFT message.

> unbootstrap
> -----------
>                 Key: CASSANDRA-435
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>             Fix For: 0.5
>         Attachments: 0001-CASSANDRA-435-clean-up-transfer-code-from-BMVH-move-t.txt,, 0003-add-leaving-mode.txt,
0004-simplify-getChangedRangesForLeaving.txt, 435-modify-update_leaving_ranges.txt
> add JMX command to tell a node to decommission itself (moving its data to the next node
on the ring)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message