incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: about decommissioned node that returns
Date Wed, 21 Dec 2011 00:29:15 GMT
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 too run repair, see also http://wiki.apache.org/cassandra/Operations#Replacing_a_Dead_Node

Cheers

  
-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 21/12/2011, at 10:13 AM, Carlos Pérez Miguel wrote:

> 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 its token it means that no collision is possible, isn't
> it?
> 
> Thank you
> 
> Carlos Pérez Miguel
> 
> 
> 
> 2011/12/20 Brandon Williams <driftx@gmail.com>:
>> On Tue, Dec 20, 2011 at 2:24 PM, aaron morton <aaron@thelastpickle.com> 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


Mime
View raw message