see technical limitations for deleting counters http://wiki.apache.org/cassandra/Counters
----------------- Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 21/09/2011, at 9:42 PM, Radim Kolar wrote: > 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] >