incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: manual InitialToken assignemnt
Date Fri, 09 Jul 2010 12:49:49 GMT
see the beginning of http://wiki.apache.org/cassandra/Operations

On Fri, Jul 9, 2010 at 7:16 AM, Sagar Agrawal <sna612@gmail.com> wrote:
> I have a 2 node cluster
> node1 - <InitialToken>5</InitialToken>
> node2 - <InitialToken>9</InitialToken>
>
> If I insert a row with key="a", which node should it go and why?
>
> It is going to node1, but I think it should go to node2, since token value
> of node is closer to "a" (using java string compareTo method)
>
> someone please clarify
>
> Thanks
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com

Mime
View raw message