On Mon, Feb 9, 2015 at 5:25 PM, Seth Edwards wrote:
> I see what you are saying. So basically take whatever existing token I
> have and divide it by 2, give or take a couple of tokens?
>
Yep! "bisect the token ranges" if you want to be fancy about it.
=Rob
I see what you are saying. So basically take whatever existing token I have
and divide it by 2, give or take a couple of tokens?
On Mon, Feb 9, 2015 at 5:17 PM, Robert Coli wrote:
> On Mon, Feb 9, 2015 at 4:59 PM, Seth Edwards wrote:
>
>> We are choosing to double our cluster from six to twelve
On Mon, Feb 9, 2015 at 4:59 PM, Seth Edwards wrote:
> We are choosing to double our cluster from six to twelve. I ran the token
> generator. Based on what I read in the documentation, I expected to see the
> same first six tokens and six new tokens. Instead I see almost the same
> tokens but off
Yes, Cassandra partitioner is based on hash ring. Doubling number of nodes is
the best cluster exctending policy I've ever seen, because it's zero-overhead.
Hashring - you get MD5 max (2^128-1), divide it by number of nodes (partitions)
getting N points and then evenly distribute them across you