On Sun, Apr 4, 2010 at 8:42 PM, Paul Prescod <[email protected]> wrote: > On Sun, Apr 4, 2010 at 5:06 PM, Benjamin Black <[email protected]> wrote: >> ... >> >> Are you suggesting this would give you counter semantics? > > Yes: My understanding of cassandra-580 is that it gives you increment > and decrement which are the basis of counters. >
It gives vector clocks, but that does not mean you have a global counter you can use as you are describing. In particular, the "read after write to trigger read repair" in cases where read repair is actually required is most likely to result in a counter being updated several times, with the last value seen by multiple clients, rather than each client getting a unique value along the way (unless I am misunderstanding what you are describing). Is that the behavior you want? b
