Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B19FE1040A for ; Mon, 6 May 2013 01:52:41 +0000 (UTC) Received: (qmail 22919 invoked by uid 500); 6 May 2013 01:52:39 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 22889 invoked by uid 500); 6 May 2013 01:52:39 -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 22880 invoked by uid 99); 6 May 2013 01:52:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 May 2013 01:52:39 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of shubham.k@gmail.com designates 209.85.220.41 as permitted sender) Received: from [209.85.220.41] (HELO mail-pa0-f41.google.com) (209.85.220.41) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 May 2013 01:52:34 +0000 Received: by mail-pa0-f41.google.com with SMTP id rl6so1767576pac.0 for ; Sun, 05 May 2013 18:52:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=/7Mt8pqasI+XmOLf3nGt0Knj8zPiYHsIkBxEbRdWNUg=; b=M6WZt06t/ETqLd8w95CFPTp35nudQ0qf8G1Cecm6kcDqYIMPyAQ170ksfSvcUpensw VNItTl7Ydtt2CWljnSpBh4fem+UvOVfOpHl6Mfbg/weD4IRYHXld88rYe2pGGiOqfQGg A21JtPxTDNcRL3zSN0vbpp1kS/wwZfF8FYpm1TMwak4TIsq5hyUtt4Nu10MtMvqJ/aX+ OFj3pg3PTYhBsKvkKI1t3p9XQAhTXI1YmD/ZXtrhU0hwxVi0+aEFddgqlhH8XYORHkjr 5VcQ9y482lFPd8XBYYXZWXrPiWZeKdiH/NbfUnIuk0iAheUoOg3Tnr9hVraB2gubqQ3T vA/A== MIME-Version: 1.0 X-Received: by 10.68.248.100 with SMTP id yl4mr1843182pbc.125.1367805134473; Sun, 05 May 2013 18:52:14 -0700 (PDT) Received: by 10.66.240.234 with HTTP; Sun, 5 May 2013 18:52:14 -0700 (PDT) In-Reply-To: <57C7C3CBDCB04F45A57AEC4CB21C0CCD1DB9B8C4@mbx024-e1-nj-6.exch024.domain.local> References: <57C7C3CBDCB04F45A57AEC4CB21C0CCD1DB9B09B@mbx024-e1-nj-6.exch024.domain.local> <57C7C3CBDCB04F45A57AEC4CB21C0CCD1DB9B8C4@mbx024-e1-nj-6.exch024.domain.local> Date: Mon, 6 May 2013 07:22:14 +0530 Message-ID: Subject: Re: local_quorum From: shubham srivastava To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=047d7b2e14f529975e04dc02f31e X-Virus-Checked: Checked by ClamAV on apache.org --047d7b2e14f529975e04dc02f31e Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable You will get an error back . Also use RF:3 for the high availability in one DC. On Mon, May 6, 2013 at 7:05 AM, Kanwar Sangha wrote: > Anyone ?**** > > ** ** > > *From:* Kanwar Sangha [mailto:kanwar@mavenir.com] > *Sent:* 03 May 2013 08:59 > *To:* user@cassandra.apache.org > *Subject:* local_quorum**** > > ** ** > > Hi =96 I have 2 data centres (DC1 and DC2) and I have local_quorum set as > the CL for reads. Say there is a RF factor =3D 2. (so 2 copies each in DC= ). > **** > > ** ** > > If both nodes which own the data in DC1 are down and I do a read with CL > as =93local_quorum=94 , will I get an error back to the application ? or = will > Cassandra do automatic routing to the other DC ?**** > > ** ** > > Thanks,**** > > Kanwar**** > > ** ** > --047d7b2e14f529975e04dc02f31e Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
You will get an error back . Also use RF:3 for the high av= ailability in one DC.


On Mon, May 6, 2013 at 7:05 AM, Kanwar Sangha <kanwar@maven= ir.com> wrote:

Anyone ?=

=A0

From: Kanwar S= angha [mailto:kanwa= r@mavenir.com]
Sent: 03 May 2013 08:59
To: u= ser@cassandra.apache.org
Subject: local_quorum

=A0

Hi =96 I have 2 data centres (D= C1 and DC2) and I have local_quorum set as the CL for reads. Say there is a= RF factor =3D 2. (so 2 copies each in DC).

=A0

If both nodes which own the dat= a in DC1 are down and I do a read with CL as =93local_quorum=94 , will I ge= t an error back to the application ? or will Cassandra do automatic routing= to the other DC ?

=A0

Thanks,

Kanwar

=A0


--047d7b2e14f529975e04dc02f31e--