cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: Atomicity of batch updates
Date Thu, 16 Jun 2011 10:58:40 GMT
See http://wiki.apache.org/cassandra/FAQ#batch_mutate_atomic

Cheers

-----------------
Aaron Morton
Freelance Cassandra Developer
@aaronmorton
http://www.thelastpickle.com

On 16 Jun 2011, at 06:26, chovatia jaydeep wrote:

> Cassandra write operation is atomic for all the columns/super columns for a given row
key in Column Family. So in your case not all previous operations (assuming each operation
was on separate key) will be reverted.
> 
> Thank you,
> Jaydeep
> 
> From: Artem Orobets <Artem.Orobets@exigenservices.com>
> To: "user@cassandra.apache.org" <user@cassandra.apache.org>
> Cc: Andrey Lomakin <Andrey.Lomakin@exigenservices.com>
> Sent: Wednesday, 15 June 2011 7:42 AM
> Subject: Atomicity of batch updates
> 
> Hi,
> Wiki says that write operation is atomic within ColumnFamily (http://wiki.apache.org/cassandra/ArchitectureOverview
chapter “write properties”).
> If I use batch update for single CF, and get an exception in last mutation operation,
is it means that all previous operation will be reverted.
> If no, what means atomic in this context?
> 
> 


Mime
View raw message