Re: about decommissioned node that returns

2011-12-20 Thread aaron morton
A node will only request data from other nodes on start up if it is bootstrapping. Bootstrapping happens when there is no system data and the auto_bootstrap: yaml config is set true, normally nodes only bootstrap once in their life. If you bring a node back for whatever reason you will want to

Re: about decommissioned node that returns

2011-12-20 Thread Carlos Pérez Miguel
What happens with the data stored for that token range already in the cluster? will the restarted node actualize it from any of the replicas? I readed in the maillist archives that in case of token collision, the cluster may not work correctly. But if the restarted node takes always ownership of i

Re: about decommissioned node that returns

2011-12-20 Thread Brandon Williams
On Tue, Dec 20, 2011 at 2:24 PM, aaron morton wrote: > Sorry, got that a little wrong. > > At startup the node will use the higher of the current seconds since epoch > or the stored generation number. Technically stored generation + 1 so it's always increased on a restart. -Brandon

Re: about decommissioned node that returns

2011-12-20 Thread aaron morton
Sorry, got that a little wrong. At startup the node will use the higher of the current seconds since epoch or the stored generation number. So if you restart the old node it should always take ownership of it's token. Cheers - Aaron Morton Freelance Developer @aaronmorton ht

Re: about decommissioned node that returns

2011-12-20 Thread aaron morton
> - What happens in Cassandra with a failed node that has been > decommissioned if it returns to the cluster with old data and its old > token? If it starts normally it *may* take ownership of the token away from the previous node. The Gossip Generation is compared and the server with the higher