From user-return-33892-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Fri May 3 14:00:03 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 29EBEFE45 for ; Fri, 3 May 2013 14:00:03 +0000 (UTC) Received: (qmail 70944 invoked by uid 500); 3 May 2013 14:00:00 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 70707 invoked by uid 500); 3 May 2013 13:59:58 -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 70678 invoked by uid 99); 3 May 2013 13:59:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 May 2013 13:59:57 +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 (athena.apache.org: local policy) Received: from [206.225.165.118] (HELO HUB024-nj-3.exch024.serverdata.net) (206.225.165.118) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 May 2013 13:59:50 +0000 Received: from MBX024-E1-NJ-6.exch024.domain.local ([10.240.10.56]) by HUB024-NJ-3.exch024.domain.local ([10.240.10.36]) with mapi id 14.02.0318.001; Fri, 3 May 2013 06:59:07 -0700 From: Kanwar Sangha To: "user@cassandra.apache.org" Subject: local_quorum Thread-Topic: local_quorum Thread-Index: Ac5IBffgAcT/fk0sQsyCnSD9i4pejw== Date: Fri, 3 May 2013 13:59:07 +0000 Message-ID: <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: [38.122.186.90] Content-Type: multipart/alternative; boundary="_000_57C7C3CBDCB04F45A57AEC4CB21C0CCD1DB9B09Bmbx024e1nj6exch_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_57C7C3CBDCB04F45A57AEC4CB21C0CCD1DB9B09Bmbx024e1nj6exch_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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_57C7C3CBDCB04F45A57AEC4CB21C0CCD1DB9B09Bmbx024e1nj6exch_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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_57C7C3CBDCB04F45A57AEC4CB21C0CCD1DB9B09Bmbx024e1nj6exch_--