incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Handoff on failure.
Date Sat, 12 Jun 2010 12:34:08 GMT
>From that page:

To bootstrap a node, turn AutoBootstrap on in the configuration file,
and start it.

If you explicitly specify an InitialToken in the configuration, the
new node will bootstrap to that position on the ring. Otherwise, it
will pick a Token that will give it half the keys from the node with
the most disk space used, that does not already have another node
bootstrapping into its Range.

On Fri, Jun 11, 2010 at 8:24 PM, Sriram Srinivasan <sriram@malhar.net> wrote:
> I saw the operations page, but didn't get what I was looking for. What I
> meant by my earlier statement was that it is not clear to me who assigns the
> token to a new node; if a node goes down, and another process comes up, is
> (a) the token assigned to it automatically by consensus (and the bootstrap
> process gives it a place in the ring where it needs most load balancing),
> or, (b) it is an external script's responsibility to bootstrap every node
> with a new initialtoken?
>
>
> On Jun 12, 2010, at 8:46 AM, Jonathan Ellis wrote:
>
>> I'm not sure what you mean, but
>> http://wiki.apache.org/cassandra/Operations may clear some things up.
>>
>> On Fri, Jun 11, 2010 at 7:49 PM, Sriram Srinivasan <sriram@malhar.net>
>> wrote:
>>>
>>> Fair enough. But doesn't that mean that the node that comes up has the
>>> same
>>> token? I suppose the answer is that the auto bootstrap process is smart
>>> enough to figure out which range needs help.
>>>
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com

Mime
View raw message