Re: Does increment/decrement by 0 generate any commits ?

2016-10-13 Thread Ben Bromhead
According to https://issues.apache.org/jira/browse/CASSANDRA-7304 unset values in a prepared statement for a counter does not change the value of the counter. This applies for versions of Cassandra 2.2 and above. I would also look to verify the claimed behaviour myself. On Tue, 11 Oct 2016 at

Does increment/decrement by 0 generate any commits ?

2016-10-11 Thread Dorian Hoxha
I just have a bunch of counters in 1 row, and I want to selectively update them. And I want to keep prepared queries. But I don't want to keep 30 prepared queries (1 for each counter column, but keep only 1). So in most cases, I will increment 1 column by positive integer and the others by 0.