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.orob...@exigenservices.com>
To: "user@cassandra.apache.org" <user@cassandra.apache.org>
Cc: Andrey Lomakin <andrey.loma...@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?

Reply via email to