Re: RackAware and replication strategy

2010-04-15 Thread Benjamin Black
Have a look at locator/DatacenterShardStrategy.java. On Thu, Apr 15, 2010 at 8:16 AM, Ran Tavory wrote: > I'm reading this on this > page http://wiki.apache.org/cassandra/ArchitectureInternals : >> >> AbstractReplicationStrategy controls what nodes get secondary, tertiary, >> etc. replicas of eac

RackAware and replication strategy

2010-04-15 Thread Ran Tavory
I'm reading this on this page http://wiki.apache.org/cassandra/ArchitectureInternals : AbstractReplicationStrategy controls what nodes get secondary, tertiary, > etc. replicas of each key range. Primary replica is always determined by the > token ring (in TokenMetadata) but you can do a lot of va