cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anuj Wadehra <anujw_2...@yahoo.co.in>
Subject Re: replace_address vs add+removenode
Date Wed, 01 Apr 2015 17:56:59 GMT
In both cases node needs to bootstrap and get data frm other nodes. Removenode has an additional
cost as it will lead to additional redistribution of tokens such that all data resides on
remaining nodes as per the replication strategy. On removenode, remaining nodes will stream
data amongst themselves so that ranges for which dead node was responsible is taken care.


Anuj Wadehra


From:"Ulrich Geilmann" <ulrich.geilmann@freiheit.com>
Date:Wed, 1 Apr, 2015 at 9:58 pm
Subject:replace_address vs add+removenode

Hi.

The documentation suggests to use the replace_address startup
parameter for replacing a dead node. However, it doesn't motivate why
this is superior over adding a new node and retiring the dead one
using nodetool removenode.
I assume it can be more efficient since the new node can take over the
exact tokens of the dead node. Are there any other differences?
Can it be reasonable to not use replace_address in the interest of
more uniform operations?

br, Ulrich


Mime
View raw message