Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 86150 invoked from network); 22 Sep 2010 07:20:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Sep 2010 07:20:00 -0000 Received: (qmail 96870 invoked by uid 500); 22 Sep 2010 07:19:58 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 96720 invoked by uid 500); 22 Sep 2010 07:19:56 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 96712 invoked by uid 99); 22 Sep 2010 07:19:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Sep 2010 07:19:55 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [74.125.82.172] (HELO mail-wy0-f172.google.com) (74.125.82.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Sep 2010 07:19:48 +0000 Received: by wyi11 with SMTP id 11so235937wyi.31 for ; Wed, 22 Sep 2010 00:19:26 -0700 (PDT) Received: by 10.216.7.210 with SMTP id 60mr6589591wep.30.1285139966760; Wed, 22 Sep 2010 00:19:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.48.195 with HTTP; Wed, 22 Sep 2010 00:19:06 -0700 (PDT) In-Reply-To: References: From: Benjamin Black Date: Wed, 22 Sep 2010 00:19:06 -0700 Message-ID: Subject: Re: Backporting Data Center Shard Strategy To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 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/or= g/apache/cassandra/locator/DatacenterShardStategy.java On Tue, Sep 21, 2010 at 10:23 PM, rbukshin rbukshin wr= ote: > 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. =A0It 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 i= n >> > their code and get the benefits of this replica placement strategy. >> > >> > -- >> > Thanks, >> > -rbukshin >> > >> > > > > > -- > Thanks, > -rbukshin > >