cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arya Goudarzi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-2495) Add a proper retry mechanism for counters in case of failed request
Date Sun, 07 Oct 2012 19:40:02 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-2495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471297#comment-13471297
] 

Arya Goudarzi commented on CASSANDRA-2495:
------------------------------------------

I opened another ticket for Reworking counters backend as you recommended: CASSANDRA-4775
                
> 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

Mime
View raw message