Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 8150 invoked from network); 12 Dec 2010 13:51:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Dec 2010 13:51:50 -0000 Received: (qmail 44398 invoked by uid 500); 12 Dec 2010 12:49:49 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 44226 invoked by uid 500); 12 Dec 2010 12:49:49 -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 44217 invoked by uid 99); 12 Dec 2010 12:49:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Dec 2010 12:49:48 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jonathan.colby@gmail.com designates 209.85.214.170 as permitted sender) Received: from [209.85.214.170] (HELO mail-iw0-f170.google.com) (209.85.214.170) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Dec 2010 12:49:41 +0000 Received: by iwn6 with SMTP id 6so7904196iwn.29 for ; Sun, 12 Dec 2010 04:49:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=8Rt71Gy5spLC8nPKvrZc0DIc/Y3uwdHvkc4CvH+/phQ=; b=pyKIrYwTSPtWPyv13KBstzTlcaoBUUCY+uLF74YdHXYilgLWvq2ArHIkHp3OUHWuys C8PU+MbhIFTHpAk/hlimg+GSWqJNIkDeBFfqm6RiLYIJi79x4vFLYD6pa5cJQF4Qbk5/ HVVSzd8ZLy7G3GdTtHA7oeNxrFVmdPdCSKrQE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=nBm6BrlyARCNab6jNpqAJUeLUnGsC45Dx9qatohufsfKYL1tBhxCjQ1DGvIM1RHJlj QENvBy/dTEWvCACJSp68p197V3dh4rWrqIhbTgMTavyMO22haetfeSvFacv65ApZHJbY IkXP/zXTPPq6+u33l+/rCj60+lfTGy94ExnWA= MIME-Version: 1.0 Received: by 10.231.31.2 with SMTP id w2mr1022080ibc.117.1292158161362; Sun, 12 Dec 2010 04:49:21 -0800 (PST) Received: by 10.231.12.75 with HTTP; Sun, 12 Dec 2010 04:49:21 -0800 (PST) Date: Sun, 12 Dec 2010 13:49:21 +0100 Message-ID: Subject: Quorum and Datacenter loss From: Jonathan Colby To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Hi cassandra experts - We're planning a cassandra cluster across 2 datacenters (datacenter-aware, random partitioning) with QUORUM consistency. It seems to me that with 2 datacenters, if one datacenter is lost, the reads/writes to cassandra will fail in the surviving datacenter because of the N/2 + 1 distribution of replicas. In other words, you need more than half of the replicas to respond but in the case of a datacenter loss you would only ever get 1/2 to respond at best. Is my logic wrong here? Is there a way to ensure the nodes in the alive datacenter respond successfully if the second datacenter is lost? Anyone have experience with this kind of problem? Thanks.