You may find this part of the wiki helpful:
http://wiki.apache.org/cassandra/Operations#Range_changes

"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."

It is circular, and token selection (after first node) is determined by key
distribution.

Sent from my iPhone

On Feb 14, 2011, at 4:13 PM, mcasandra <mohitanch...@gmail.com> wrote:


I am trying to understand atleast to some level of detail about how random
partitioner works. With the text I have seen on the website I am not able to
clearly understand. Is there a place where it's described with an example,
for eg how nodes are assigned random tokens? Is the range picked randomly
and assigned to nodes in circular fashion, for eg: hash ABC to FGH goes to
node A and then hash IJKLM-OPQR goes to node B?
-- 
View this message in context:
http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/RandomPartitioner-tp6025203p6025203.html
Sent from the cassandra-u...@incubator.apache.org mailing list archive at
Nabble.com.

Reply via email to