Re: replace_address vs add+removenode

2015-04-01 Thread Anuj Wadehra
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 them

Re: replace_address vs add+removenode

2015-04-01 Thread Robert Coli
On Wed, Apr 1, 2015 at 9:26 AM, Ulrich Geilmann < ulrich.geilm...@freiheit.com> wrote: > 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? > That's the reason. You get one streaming operation ("bootstrap a new

replace_address vs add+removenode

2015-04-01 Thread Ulrich Geilmann
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 th