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 5F7F5DB45 for ; Sat, 6 Oct 2012 23:49:18 +0000 (UTC) Received: (qmail 33699 invoked by uid 500); 6 Oct 2012 23:49:18 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 33658 invoked by uid 500); 6 Oct 2012 23:49:18 -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 33647 invoked by uid 99); 6 Oct 2012 23:49:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Oct 2012 23:49:18 +0000 Date: Sat, 6 Oct 2012 23:49:18 +0000 (UTC) From: "George Courtsunis (JIRA)" To: commits@cassandra.apache.org Message-ID: <1911933680.5730.1349567358129.JavaMail.jiratomcat@arcas> In-Reply-To: <900371441.64414.1303135326350.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-2495) Add a proper retry mechanism for counters in case of failed request 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-2495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471115#comment-13471115 ] George Courtsunis commented on CASSANDRA-2495: ---------------------------------------------- Any update? Would really love to have this feature in place. > Add a proper retry mechanism for counters in case of failed request > ------------------------------------------------------------------- > > Key: CASSANDRA-2495 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2495 > Project: Cassandra > Issue Type: Improvement > Components: Core > Affects Versions: 0.8 beta 1 > Reporter: Sylvain Lebresne > Attachments: marker_idea.txt > > > Contrarily to standard insert, counter increments are not idempotent. As such, replaying a counter mutation when a TimeoutException occurs could lead to an over-count. This alone limits the use cases for which counters are a viable solution, so we should try to come up with a mechanism that allow the replay of a failed counter mutation without the risk of over-count. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira