incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Radim Kolar <...@sendmail.cz>
Subject deleted counters keeps their value?
Date Wed, 21 Sep 2011 09:42:10 GMT
Another problem with counters: Counter delete + incr does not set value 
to 1 but to old value before deletion + 1

[default@whois] list ipbans;
Using default limit of 100
-------------------
RowKey: 10.0.0.7

1 Row Returned.
[default@whois] incr ipbans['10.0.0.7']['hits'];
Value incremented.
[default@whois] list ipbans;
Using default limit of 100
-------------------
RowKey: 10.0.0.7
=> (counter=hits, value=23)

1 Row Returned.
[default@whois]


Mime
View raw message