You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by rbukshin rbukshin <rb...@gmail.com> on 2010/09/22 07:02:19 UTC

Backporting Data Center Shard Strategy

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 this replica placement strategy.

-- 
Thanks,
-rbukshin

Re: Backporting Data Center Shard Strategy

Posted by Benjamin Black <b...@b3k.us>.
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/DatacenterShardStategy.java

On Tue, Sep 21, 2010 at 10:23 PM, rbukshin rbukshin <rb...@gmail.com> 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 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 <b...@b3k.us> wrote:
>>
>> DCShard is in 0.6.  It has been rewritten in 0.7.
>>
>> On Tue, Sep 21, 2010 at 10:02 PM, rbukshin rbukshin <rb...@gmail.com>
>> 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 this replica placement strategy.
>> >
>> > --
>> > Thanks,
>> > -rbukshin
>> >
>> >
>
>
>
> --
> Thanks,
> -rbukshin
>
>

Re: Backporting Data Center Shard Strategy

Posted by Jonathan Ellis <jb...@gmail.com>.
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 <rb...@gmail.com> 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 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 <b...@b3k.us> wrote:
>>
>> DCShard is in 0.6.  It has been rewritten in 0.7.
>>
>> On Tue, Sep 21, 2010 at 10:02 PM, rbukshin rbukshin <rb...@gmail.com>
>> 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 this replica placement strategy.
>> >
>> > --
>> > Thanks,
>> > -rbukshin
>> >
>> >
>
>
>
> --
> Thanks,
> -rbukshin
>
>



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

Re: Backporting Data Center Shard Strategy

Posted by rbukshin rbukshin <rb...@gmail.com>.
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 <b...@b3k.us> wrote:

> DCShard is in 0.6.  It has been rewritten in 0.7.
>
> On Tue, Sep 21, 2010 at 10:02 PM, rbukshin rbukshin <rb...@gmail.com>
> 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 this replica placement strategy.
> >
> > --
> > Thanks,
> > -rbukshin
> >
> >
>



-- 
Thanks,
-rbukshin

Re: Backporting Data Center Shard Strategy

Posted by Benjamin Black <b...@b3k.us>.
DCShard is in 0.6.  It has been rewritten in 0.7.

On Tue, Sep 21, 2010 at 10:02 PM, rbukshin rbukshin <rb...@gmail.com> 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 this replica placement strategy.
>
> --
> Thanks,
> -rbukshin
>
>