Re: how RandomPartitioner calculate tokens

2013-01-30 Thread Manu Zhang
On Wed 30 Jan 2013 05:47:59 PM CST, Sylvain Lebresne wrote: I'll admit that this part of the DataStax documentation is a bit confusing (and I'll reach to the doc writers to make sure this is improved). The partitioner (being it RandomPartitioner, Murmur3Partitioner or OrderPreservingPartitioner)

Re: how RandomPartitioner calculate tokens

2013-01-30 Thread Sylvain Lebresne
I'll admit that this part of the DataStax documentation is a bit confusing (and I'll reach to the doc writers to make sure this is improved). The partitioner (being it RandomPartitioner, Murmur3Partitioner or OrderPreservingPartitioner) is pretty much only a hash function that defines how to compu

how RandomPartitioner calculate tokens

2013-01-30 Thread Manu Zhang
Hi, As per the Datastax Cassandra Documentation 1.2, "for single data center deployments, tokens are calculated by dividing the hash range by the number of nodes in the cluster", *does it mean we have to recalculate the tokens of keys when nodes come and go?** * "for multiple data center depl