Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 66651 invoked from network); 30 Apr 2010 17:12:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Apr 2010 17:12:42 -0000 Received: (qmail 66389 invoked by uid 500); 30 Apr 2010 17:12:42 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 66378 invoked by uid 500); 30 Apr 2010 17:12:42 -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 66370 invoked by uid 99); 30 Apr 2010 17:12:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Apr 2010 17:12:42 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Apr 2010 17:12:39 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3UHCIg5013337 for ; Fri, 30 Apr 2010 17:12:18 GMT Message-ID: <10080039.35481272647538075.JavaMail.jira@thor> Date: Fri, 30 Apr 2010 13:12:18 -0400 (EDT) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Commented: (CASSANDRA-952) DC Quorum broken @ trunk In-Reply-To: <94677569.678611270359867148.JavaMail.jira@brutus.apache.org> 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-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862750#action_12862750 ] Jonathan Ellis commented on CASSANDRA-952: ------------------------------------------ It looks like this is mixing code from CASSANDRA-967 in. Let's do these one at a time, or we're more likely to introduce bugs. > DC Quorum broken @ trunk > ------------------------ > > Key: CASSANDRA-952 > URL: https://issues.apache.org/jira/browse/CASSANDRA-952 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 0.6 > Environment: Linux, Cassandra > Reporter: Vijay > Assignee: Vijay > Priority: Minor > Fix For: 0.7, 0.8 > > Attachments: 952-Canges_To_Stategy_V002.txt, 952-Change_BlockFor.txt, 952-Changes_To_ResponseHandler_v002.txt, 952-Fix_Refactor_DCStatergy.txt, 952-v3.txt, 952-v4.txt, DC-Config.xml > > > Currently DCQuorum is broken in trunk, Suggesting the following fix... > Write to DC's > 1) Move determineBlockFor(int expandedTargets, ConsistencyLevel consistency_level) to AbstractEndpointSnitch > 2) Add the same to support DC Quorum in DatacenterShardStategy > Read to DC's > 1) find suitable nodes was a list which was returning a list of local DC's earlier but now it is just one node and MD is been sent by other nodes. Need to have an option to even avoid MD from other DC's? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.