From user-return-33925-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Mon May 6 01:36:21 2013 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 2C6E51037A for ; Mon, 6 May 2013 01:36:21 +0000 (UTC) Received: (qmail 93537 invoked by uid 500); 6 May 2013 01:36:18 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 93500 invoked by uid 500); 6 May 2013 01:36:18 -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 93492 invoked by uid 99); 6 May 2013 01:36:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 May 2013 01:36:18 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [206.225.165.112] (HELO HUB024-nj-6.exch024.serverdata.net) (206.225.165.112) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 May 2013 01:36:09 +0000 Received: from MBX024-E1-NJ-6.exch024.domain.local ([10.240.10.56]) by HUB024-NJ-6.exch024.domain.local ([10.240.10.45]) with mapi id 14.02.0318.001; Sun, 5 May 2013 18:35:27 -0700 From: Kanwar Sangha To: "user@cassandra.apache.org" Subject: RE: local_quorum Thread-Topic: local_quorum Thread-Index: Ac5IBffgAcT/fk0sQsyCnSD9i4pejwB8+NQg Date: Mon, 6 May 2013 01:35:25 +0000 Message-ID: <57C7C3CBDCB04F45A57AEC4CB21C0CCD1DB9B8C4@mbx024-e1-nj-6.exch024.domain.local> References: <57C7C3CBDCB04F45A57AEC4CB21C0CCD1DB9B09B@mbx024-e1-nj-6.exch024.domain.local> In-Reply-To: <57C7C3CBDCB04F45A57AEC4CB21C0CCD1DB9B09B@mbx024-e1-nj-6.exch024.domain.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [76.184.245.196] Content-Type: multipart/alternative; boundary="_000_57C7C3CBDCB04F45A57AEC4CB21C0CCD1DB9B8C4mbx024e1nj6exch_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_57C7C3CBDCB04F45A57AEC4CB21C0CCD1DB9B8C4mbx024e1nj6exch_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Anyone ? From: Kanwar Sangha [mailto:kanwar@mavenir.com] Sent: 03 May 2013 08:59 To: user@cassandra.apache.org Subject: local_quorum Hi - 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= "local_quorum" , will I get an error back to the application ? or will Cas= sandra do automatic routing to the other DC ? Thanks, Kanwar --_000_57C7C3CBDCB04F45A57AEC4CB21C0CCD1DB9B8C4mbx024e1nj6exch_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Anyone ?

 

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

 

Hi – I have 2 data centre= s (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 dat= a in DC1 are down and I do a read with CL as “local_quorum” , w= ill I get an error back to the application ? or will Cassandra do automatic= routing to the other DC ?

 

Thanks,

Kanwar

 

--_000_57C7C3CBDCB04F45A57AEC4CB21C0CCD1DB9B8C4mbx024e1nj6exch_--