incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Lebresne <sylv...@datastax.com>
Subject Re: deleted counters keeps their value?
Date Wed, 21 Sep 2011 16:33:14 GMT
On Wed, Sep 21, 2011 at 6:19 PM, Radim Kolar <hsn@sendmail.cz> wrote:
> Sam,
>
> thank you for your detailed problem description. What is reason why delete
> cant remove old counter value from memtable?

The reason is: even if it was doing this, incrementing after a deletion would
still not work correctly. So we've avoided adding special casing in the code
since it wouldn't fix anything.

--
Sylvain


> Because currently we need to
> code workaround in our applications.
>
> It would be nice to copy your description of this problem to:
> http://wiki.apache.org/cassandra/Counters
> because it is more clear than existing text.
>

Mime
View raw message