incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@smallrivers.com
Subject Handling topology changes
Date Wed, 21 Dec 2011 11:34:48 GMT
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