Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 79146 invoked from network); 14 Mar 2011 17:16:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Mar 2011 17:16:56 -0000 Received: (qmail 29422 invoked by uid 500); 14 Mar 2011 17:16:54 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 29392 invoked by uid 500); 14 Mar 2011 17:16:53 -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 29384 invoked by uid 99); 14 Mar 2011 17:16:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Mar 2011 17:16:53 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.214.172] (HELO mail-iw0-f172.google.com) (209.85.214.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Mar 2011 17:16:47 +0000 Received: by iwl42 with SMTP id 42so6371632iwl.31 for ; Mon, 14 Mar 2011 10:16:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.112.204 with SMTP id x12mr9689733ibp.167.1300122985546; Mon, 14 Mar 2011 10:16:25 -0700 (PDT) Sender: david@daotown.com Received: by 10.231.182.135 with HTTP; Mon, 14 Mar 2011 10:16:25 -0700 (PDT) X-Originating-IP: [80.179.102.198] In-Reply-To: References: Date: Mon, 14 Mar 2011 19:16:25 +0200 X-Google-Sender-Auth: WuOR_0Kbbka9Gli5vtDZuFLf4k0 Message-ID: Subject: Re: On 0.6.6 to 0.7.3 migration, DC-aware traffic and minimising data transfer From: David Boxenhorn To: user@cassandra.apache.org Cc: Robert Coli , Jedd Rashbrooke Content-Type: multipart/alternative; boundary=0016363b8666b7c63f049e74789b X-Virus-Checked: Checked by ClamAV on apache.org --0016363b8666b7c63f049e74789b Content-Type: text/plain; charset=ISO-8859-1 How do you write to two versions of Cassandra from the same client? Two versions of Hector? On Mon, Mar 14, 2011 at 6:46 PM, Robert Coli wrote: > On Mon, Mar 14, 2011 at 8:39 AM, Jedd Rashbrooke > wrote: > > But more importantly for us it would mean we'd have just the > > one major outage, rather than two (relocation and 0.6 -> 0.7) > > Take zero major outages instead? :D > > a) Set up new cluster on new version. > b) Fork application writes, so all writes go to both clusters. > c) Backfill old data to new cluster via API writes. > d) Flip the switch to read from the new cluster. > e) Turn off old cluster. > > =Rob > --0016363b8666b7c63f049e74789b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
How do you write to two versions of Cassandra from the sam= e client? Two versions of Hector?

On Mon= , Mar 14, 2011 at 6:46 PM, Robert Coli <rcoli@digg.com> wrote:
On Mon, Mar 14, 2011 at 8:39 AM, Jedd Rashbrooke <jedd@visualdna.com> wrote:
> =A0But more importantly for us it would mean we'd have just the > =A0one major outage, rather than two (relocation and 0.6 -> 0.7)
Take zero major outages instead? :D

a) Set up new cluster on new version.
b) Fork application writes, so all writes go to both clusters.
c) Backfill old data to new cluster via API writes.
d) Flip the switch to read from the new cluster.
e) Turn off old cluster.

=3DRob

--0016363b8666b7c63f049e74789b--