Cassandra support LWT (Lightweight transactions), you may find this doc 
interesting:
https://docs.datastax.com/en/cassandra/3.0/cassandra/dml/dmlDataConsistencyTOC.html

In any case, LWT or BATCH you won’t have external control on the tx, it’s 
either done or not done. In case of timeout you won’t have a way to know if it 
worked or not.
There is no way to rollback a statement/batch, the only way is to send an 
update to modify the partition to its previous state.

Regards,
--
Jacques-Henri Berthemet

From: DuyHai Doan [mailto:doanduy...@gmail.com]
Sent: Thursday, April 19, 2018 9:10 AM
To: user <user@cassandra.apache.org>
Subject: Re: Does Cassandra supports ACID txn

No ACID transaction any soon in Cassandra

On Thu, Apr 19, 2018 at 7:35 AM, Rajesh Kishore 
<rajesh10si...@gmail.com<mailto:rajesh10si...@gmail.com>> wrote:
Hi,
I am bit confused by reading different articles, does recent version of 
Cassandra supports ACID transaction ?
I found BATCH command , but not sure if it supports rollback, consider that 
transaction I am going to perform would be on single partition.
Also, what are the limitations if any?

Thanks,
Rajesh

Reply via email to