cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chovatia jaydeep <chovatia_jayd...@yahoo.co.in>
Subject Re: Atomicity of batch updates
Date Wed, 15 Jun 2011 18:26:07 GMT
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