Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 92444 invoked from network); 16 Mar 2011 18:35:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Mar 2011 18:35:53 -0000 Received: (qmail 21743 invoked by uid 500); 16 Mar 2011 18:35:51 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 21715 invoked by uid 500); 16 Mar 2011 18:35:51 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 21675 invoked by uid 99); 16 Mar 2011 18:35:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Mar 2011 18:35:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Mar 2011 18:35:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8E6513ACE5F for ; Wed, 16 Mar 2011 18:35:29 +0000 (UTC) Date: Wed, 16 Mar 2011 18:35:29 +0000 (UTC) From: "Matthew F. Dennis (JIRA)" To: commits@cassandra.apache.org Message-ID: <1867899328.7127.1300300529580.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <685777367.5892.1300246469828.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (CASSANDRA-2338) C* needs a LOCAL_QUORUM_PLUS_ONE_REMOTE consistency level MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-2338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13007615#comment-13007615 ] Matthew F. Dennis commented on CASSANDRA-2338: ---------------------------------------------- two of the most common requests I hear from users is specify an arbitrary number of replicas (usually two) and specify things like (at least one copy in one other DC). In any case, I certainly wasn't trying tp advocate that LOCAL_QUORUM_PLUS_ONE_REMOTE be the only one (even though the bug came out sounding like that); it's just one of many examples of more complex scenarios that I've seen several requests for. Making it pluggable is certainly the best long term choice. As people develop ones that are generally useful and well written, we can just include them. > C* needs a LOCAL_QUORUM_PLUS_ONE_REMOTE consistency level > --------------------------------------------------------- > > Key: CASSANDRA-2338 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2338 > Project: Cassandra > Issue Type: New Feature > Reporter: Matthew F. Dennis > Priority: Minor > > for cases where people want to run C* across multiple DCs for disaster recovery et cetera where normal operations only happen in the first DC (e.g. no writes/reads happen in the remove DC under normal operation) neither LOCAL_QUORUM or EACH_QUORUM really suffices. > Consider the case with RF of DC1:3 DC2:2 > LOCAL_QUORUM doesn't provide any guarantee that data is in the remote DC. > EACH_QUORUM requires that both nodes in the remote DC are up. > It would be useful in some situations to be able to specify a LOCAL_QUORUM (for local consistency) + "at least one remote" for durability/disaster proofing. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira