Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 98618 invoked from network); 22 Oct 2009 17:19:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Oct 2009 17:19:23 -0000 Received: (qmail 63133 invoked by uid 500); 22 Oct 2009 17:19:23 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 63112 invoked by uid 500); 22 Oct 2009 17:19:23 -0000 Mailing-List: contact cassandra-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-commits@incubator.apache.org Received: (qmail 63102 invoked by uid 99); 22 Oct 2009 17:19:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2009 17:19:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2009 17:19:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BBA82234C1F1 for ; Thu, 22 Oct 2009 10:18:59 -0700 (PDT) Message-ID: <2011505754.1256231939767.JavaMail.jira@brutus> Date: Thu, 22 Oct 2009 17:18:59 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Issue Comment Edited: (CASSANDRA-492) Data Center Quorum In-Reply-To: <1506141544.1255584033518.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768764#action_12768764 ] Jonathan Ellis edited comment on CASSANDRA-492 at 10/22/09 5:17 PM: -------------------------------------------------------------------- it is hard to see what is going on in the dcaware patch since there is so much reformatting of existing code going on. please resubmit without touching existing lines that doesn't actually need to be changed. (also, be aware of http://wiki.apache.org/cassandra/CodeStyle.) was (Author: jbellis): it is hard to see what is going on in the dcaware patch since there is so much reformatting going on. please resubmit without touching existing lines that doesn't actually need to be changed. (also, be aware of http://wiki.apache.org/cassandra/CodeStyle.) > Data Center Quorum > ------------------ > > Key: CASSANDRA-492 > URL: https://issues.apache.org/jira/browse/CASSANDRA-492 > Project: Cassandra > Issue Type: New Feature > Components: Core > Affects Versions: 0.5 > Environment: Cassandra Core Code > Reporter: Vijay > Priority: Minor > Fix For: 0.5 > > Attachments: cassandra-DCAWARE.patch, DC-Config.xml > > Original Estimate: 336h > Remaining Estimate: 336h > > Need a Cassandra Datacenter Quorum Read and Datacenter Quorum Write. > Add 1 new enum DC_Quorum. basically reads with this will not span across the datacenter it will use the existing nodes in the Datacenter which has this data and read from it. > For writes - All the data centers need to get this data, (datac enters will be configured in the storage-config.xml and number of replicas in it). Once configured write will basically write to all the nodes in all the datacenter but will wait only for the write in the current datacenter. > Example: We have 3 Datacenter A,B,C A has a replication factor of 3, B has 2 and C has 2. DC_Quorum write will make sure to write on 2 of 3 nodes in A.... B and C (total 4 +1) nodes will be eventually consistent. > Changes will be in RackAware, storage, read and write classes. > Thanks > Vijay -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.