cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shyamal Prasad <shya...@member.fsf.org>
Subject Re: node selection for replication factor 3
Date Mon, 03 Oct 2011 22:13:38 GMT
>>>>> "Ramesh" == Ramesh Natarajan <ramesh25@gmail.com> writes:

     Ramesh> I have 6 nodes in a cluster running RandonPartitioner with
     Ramesh> SimpleStrategy and replication factor 3.  Lets say we insert
     Ramesh> a column with a QUORUM consistency.  Based on the md5 hash
     Ramesh> it decides to go to node 10.19.104.11. How does cassandra
     Ramesh> pick the other 2 nodes? Is it sequential ( .12 and .13 ) or
     Ramesh> any random node?

Sequential (see SimpleStrategy.java and TokenMetadata.java in  
org.apache.cassandra.locator for details).

Cheers!
Shyamal


Mime
View raw message