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: Replica data distributing between racks
Date Mon, 02 May 2011 19:22:49 GMT
On Mon, May 2, 2011 at 2:18 PM, aaron morton <aaron@thelastpickle.com> wrote:
> When the NTS selects replicas in a DC it orders the tokens available in  the DC, then
(in the first pass) iterates through them placing a replica in each unique rack.  e.g. if
the RF in each DC was 2, the replicas would be put on 2 unique racks if possible. So the lowest
token in the DC will *always* get a write.

It's supposed to start w/ the node closest to the token in each DC, so
that shouldn't be the case unless you are using BOP/OPP instead of RP.

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

Mime
View raw message