cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhu han (JIRA)" <>
Subject [jira] Commented: (CASSANDRA-1546) (Yet another) approach to counting
Date Tue, 28 Sep 2010 03:13:34 GMT


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

> (Yet another) approach to counting
> ----------------------------------
>                 Key: CASSANDRA-1546
>                 URL:
>             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.

View raw message