Re: Replacing a dead node by deleting it and auto_bootstrap'ing a new node (Cassandra 2.0)

2014-12-06 Thread Omri Bahumi
In that case, just don't delete the dead node (what I think you should do anyways. I'm pretty sure it can't be deleted if you're going to replace it with "-Dcassandra.replace_address=..."). I was speaking about the case that you _do_ want it replaced. You can just delete it and bootstrap a new node

Re: Replacing a dead node by deleting it and auto_bootstrap'ing a new node (Cassandra 2.0)

2014-12-05 Thread Jaydeep Chovatia
I think Cassandra gives us control as what we want to do: a) If we want to replace a dead node then we should specify "-Dcassandra.replace_address=old_node_ipaddress" b) If we are adding new nodes (no replacement) then do not specify above option and tokens would get assigned randomly. I can think

Re: Replacing a dead node by deleting it and auto_bootstrap'ing a new node (Cassandra 2.0)

2014-12-05 Thread Omri Bahumi
I guess Cassandra is aware that it has some replicas not meeting the replication factor. Wouldn't it be nice if a bootstrapping node would get those? Could make things much simpler in the Ops view. What do you think? On Fri, Dec 5, 2014 at 8:31 AM, Jaydeep Chovatia wrote: > as per my knowledge i

Re: Replacing a dead node by deleting it and auto_bootstrap'ing a new node (Cassandra 2.0)

2014-12-04 Thread Jaydeep Chovatia
as per my knowledge if you have externally NOT specified "-Dcassandra.replace_address=old_node_ipaddress" then new tokens (randomly) would get assigned to bootstrapping node instead of tokens of dead node. -jaydeep On Thu, Dec 4, 2014 at 6:50 AM, Omri Bahumi wrote: > Hi, > > I was wondering, ho

Replacing a dead node by deleting it and auto_bootstrap'ing a new node (Cassandra 2.0)

2014-12-04 Thread Omri Bahumi
Hi, I was wondering, how would auto_bootstrap behave in this scenario: 1. I had a cluster with 3 nodes (RF=2) 2. One node died, I deleted it with "nodetool removenode" (+ force) 3. A new node launched with "auto_bootstrap: true" The question is: will the "right" vnodes go to the new node as if i