incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Does Cassandra use vector clocks
Date Wed, 23 Feb 2011 17:27:21 GMT
On Wed, Feb 23, 2011 at 9:57 AM, Oleg Anastasyev <oleganas@gmail.com> wrote:
> From the other hand, the same article says:
> "For conditional writes to work, the condition must be evaluated at all update
> sites before the write can be allowed to succeed."
>
> This means, that when doing such an update CL=ALL must be used.

Exactly.

> This could be a
> bearable price to pay for conflict detection.

IMO if you only get CL.ALL it's not superior enough to pessimistic
locking to justify the complexity of adding it.

-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Mime
View raw message