Re: Backporting Data Center Shard Strategy

2010-09-22 Thread Jonathan Ellis
DSS is broken in 0.6 and was removed from 0.6.6 to make it (even more) clear that you shouldn't be using it. On Wed, Sep 22, 2010 at 12:23 AM, rbukshin rbukshin wrote: > The one in 0.6 doesn't allow controlling number of replicas to place in > other DC. Atmost 1 copy of data can be placed in othe

Re: Backporting Data Center Shard Strategy

2010-09-22 Thread Benjamin Black
You might be confusing the RackAware strategy (which puts 1 replica in a remote DC) and the DatacenterShard strategy (which puts M of N replicas in remote DCs). Both are in 0.6.5. https://svn.apache.org/repos/asf/cassandra/tags/cassandra-0.6.5/src/java/org/apache/cassandra/locator/DatacenterShard

Re: Backporting Data Center Shard Strategy

2010-09-21 Thread rbukshin rbukshin
The one in 0.6 doesn't allow controlling number of replicas to place in other DC. Atmost 1 copy of data can be placed in other DC. What are other differences between the implementation in 0.6 vs 0.7? On Tue, Sep 21, 2010 at 10:03 PM, Benjamin Black wrote: > DCShard is in 0.6. It has been rew

Re: Backporting Data Center Shard Strategy

2010-09-21 Thread Benjamin Black
DCShard is in 0.6. It has been rewritten in 0.7. On Tue, Sep 21, 2010 at 10:02 PM, rbukshin rbukshin wrote: > Is there any plan to backport DataCenterShardStrategy to 0.6.x from 0.7? It > will be very useful for those who don't want to make drastic changes in > their code and get the benefits of