On two different clusters, if I set the token to zero, on a node, its
ownership drops to zero after migration.



After I added the third one and moved tokens, I now have this:

33.33%  56713727820156410577229101238628035242
33.33%  113427455640312821154458202477256070484
33.33%  170141183460469231731687303715884105727

No zeroes.





Eric Gilmore-3 wrote:
> 
> A script that I have says the following:
> 
> $ python ctokens.py
> How many nodes are in your cluster? 2
> node 0: 0
> node 1: 85070591730234615865843651857942052864
> 
> The first token should be zero, for the reasons discussed here:
> http://www.datastax.com/dev/tutorials/getting_started_0_7/configuring#initial-token-values
> 
> More details are available in
> http://www.datastax.com/docs/0.7/operations/clustering#adding-capacity
> 
> The DS docs have some weak areas, but these two pages have been pretty
> well
> vetted over the past months :)
> 
> 
> 
> On Thu, Mar 31, 2011 at 3:06 PM, buddhasystem <potek...@bnl.gov>
> wrote:
> 
>> I just configured a cluster of two nodes -- do these token values make
>> sense?
>> The reason I'm asking that so far I don't see load balancing to be
>> happening, judging from performance.
>>
>> Address         Status State   Load            Owns    Token
>>
>> 170141183460469231731687303715884105728
>> 130.199.185.194 Up     Normal  153.52 GB       50.00%
>> 85070591730234615865843651857942052864
>> 130.199.185.193 Up     Normal  199.82 GB       50.00%
>> 170141183460469231731687303715884105728
>>
>>
>> --
>> View this message in context:
>> http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Node-added-no-performance-boost-are-the-tokens-correct-tp6228872p6228872.html
>> Sent from the cassandra-u...@incubator.apache.org mailing list archive at
>> Nabble.com.
>>
> 


--
View this message in context: 
http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Node-added-no-performance-boost-are-the-tokens-correct-tp6228872p6231845.html
Sent from the cassandra-u...@incubator.apache.org mailing list archive at 
Nabble.com.

Reply via email to