Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 252E48729 for ; Fri, 26 Aug 2011 16:18:55 +0000 (UTC) Received: (qmail 43582 invoked by uid 500); 26 Aug 2011 16:18:54 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 43494 invoked by uid 500); 26 Aug 2011 16:18:54 -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 43486 invoked by uid 99); 26 Aug 2011 16:18:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Aug 2011 16:18:53 +0000 X-ASF-Spam-Status: No, hits=-1997.3 required=5.0 tests=ALL_TRUSTED,FS_REPLICA,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; Fri, 26 Aug 2011 16:18:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6ED7AD1360 for ; Fri, 26 Aug 2011 16:18:30 +0000 (UTC) Date: Fri, 26 Aug 2011 16:18:30 +0000 (UTC) From: "Patricio Echague (JIRA)" To: commits@cassandra.apache.org Message-ID: <576869516.17920.1314375510450.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (CASSANDRA-3082) Operation with CL=EACH_QUORUM doesn't succeed when a replica is down (RF=3) 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 Operation with CL=EACH_QUORUM doesn't succeed when a replica is down (RF=3) --------------------------------------------------------------------------- Key: CASSANDRA-3082 URL: https://issues.apache.org/jira/browse/CASSANDRA-3082 Project: Cassandra Issue Type: Bug Affects Versions: 0.8.4, 0.7.8 Reporter: Patricio Echague Assignee: Patricio Echague Fix For: 0.7.9, 0.8.5, 1.0 {code} DatacenterSyncWriteResponseHandler#assureSufficientLiveNodes() ... ... // Throw exception if any of the DC doesn't have livenodes to accept write. for (String dc: strategy.getDatacenters()) { if (dcEndpoints.get(dc).get() != responses.get(dc).get()) throw new UnavailableException(); } {code} should be: {code} if (dcEndpoints.get(dc).get() < responses.get(dc).get()) {code} -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira