Closed oliverlockwood closed 7 years ago
All the statement s are LWTs so I don't think this is a good idea. LWTs already require a QUORUM of nodes to be up and the normal consistency level is only used if it is set to ALL on commit. I think ALL would be far too unavailable for this and I don't see it giving us anything.
We should perhaps allow the user to specify the prepare consistency (LOCAL_SERIAL or SERIAL).
@chbatey thanks for the clarification - I'll close this issue. For others interested, this page is a good reference on LWTs (identified by the presence of the IF
clause): http://www.datastax.com/dev/blog/lightweight-transactions-in-cassandra-2-0
This should surely obey the read and write consistency levels (
LOCAL_ONE
andALL
, respectively) that are used elsewhere incqlmigrate
?@adamdougal @chbatey @sebbonnet @jsravn @balooo your thoughts welcomed.