see the beginning of http://wiki.apache.org/cassandra/Operations

On Fri, Jul 9, 2010 at 7:16 AM, Sagar Agrawal <sna...@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

Reply via email to