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: Handling topology changes
Date Wed, 21 Dec 2011 21:10:14 GMT
How often is "relatively often" ? 

> * having a fixed amount of nodes with initial tokens and letting new
>  ones auto bootstrap themselves
Generally a bad idea, you should make sure nodes re given sensible tokens that evenly distribute
the data. 

Cheers

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

On 22/12/2011, at 12:34 AM, pyr@smallrivers.com wrote:

> Hi,
> 
> I wonder about the best strategy when a cluster sees changes in its
> topology relatively often.
> 
> My main concern is how to handle the initial token for new nodes. If a
> cluster is first created with 7 nodes for which the initial token is
> calculated with the formula here:
> http://wiki.apache.org/cassandra/Operations#Token_selection.
> 
> It seems as though two strategies can be applied:
> 
> * having a fixed amount of nodes with initial tokens and letting new
>  ones auto bootstrap themselves
> * recomputing tokens for the new number of nodes and using nodetool move
>  for each of those
> 
> Is any of these right and are there other strategies ?
> 
>   - pyr


Mime
View raw message