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

zhu han commented on CASSANDRA-1546:
------------------------------------

One more question on the local counter column.

Are all local column update operation are serialized, i.e atomic and isolated? 

For example, there are two CounterMutation, both are +1.  When these two 
requests reach the leader replica, the current value of local column is 2.  If 
the two operations are not serialized, both of them can read  the same current 
value 2, apply the "+1"  to it,  and get 3 as the final result.  One increment 
request just lost silently.  Does the current patch work against it?

> (Yet another) approach to counting
> ----------------------------------
>
>                 Key: CASSANDRA-1546
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1546
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>             Fix For: 0.7.0
>
>         Attachments: 0001-Remove-IClock-from-internals.patch, 
> 0002-Counters.patch, 0003-Generated-thrift-files-changes.patch
>
>
> This could be described as a mix between CASSANDRA-1072 without clocks and 
> CASSANDRA-1421.
> More details in the comment below.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to