Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 54204 invoked from network); 16 Aug 2010 18:19:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Aug 2010 18:19:48 -0000 Received: (qmail 18199 invoked by uid 500); 16 Aug 2010 18:19:48 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 18177 invoked by uid 500); 16 Aug 2010 18:19:47 -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 18169 invoked by uid 99); 16 Aug 2010 18:19:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Aug 2010 18:19:47 +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; Mon, 16 Aug 2010 18:19:45 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7GIJNsR018754 for ; Mon, 16 Aug 2010 18:19:24 GMT Message-ID: <17600965.370861281982763759.JavaMail.jira@thor> Date: Mon, 16 Aug 2010 14:19:23 -0400 (EDT) From: "Jeff Darcy (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Commented: (CASSANDRA-1072) Increment counters In-Reply-To: <27538947.141273514791054.JavaMail.jira@thor> 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-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899015#action_12899015 ] Jeff Darcy commented on CASSANDRA-1072: --------------------------------------- Sylvain, what does "wait for a number of acks" in your/Kelvin's step 4 mean? What happens if one or more replicas are on the other side of a partition? What values are returned while the chosen replica is waiting for acks? It's all very well to make a "good faith" attempt to reduce the window of inconsistency by sending updates to other replicas early, but waiting indefinitely seems like trying to enforce strong consistency and if the wait terminates then we have to handle the repair after the partition is resolved anyway. This may be the same objection as Jonathan made at 8pm on August 10, although it covers more cases than just multi-DC because partitions can and do occur within DCs as well. Reading the current version vector as part of a write doesn't seem like enough of a problem to justify complex workarounds, since it's probably in memory anyway (especially for a hot counter). > Increment counters > ------------------ > > Key: CASSANDRA-1072 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1072 > Project: Cassandra > Issue Type: Sub-task > Components: Core > Reporter: Johan Oskarsson > Assignee: Kelvin Kakugawa > Attachments: CASSANDRA-1072-2.patch, CASSANDRA-1072.patch, Incrementcountersdesigndoc.pdf > > > Break out the increment counters out of CASSANDRA-580. Classes are shared between the two features but without the plain version vector code the changeset becomes smaller and more manageable. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.