The Datastax documentation for lightweight transaction states:
"Lightweight transactions use a timestamping mechanism different than for normal operations and mixing LWTs and normal operations can result in errors. If lightweight transactions are used to write to a row within a partition, only lightweight transactions for both read and write operations should be used."
This is very vague (BTW what do they even mean by LWTs for read operations?).
Can someone with deeper knowledge of Cassandra internals elaborate on possible problems when mixing LWTs and normal writes?
My best guess is that there might be problems with concurrency (obviously). But I thought that if I (for example) insert a row using IF NOT EXISTS
and if that was successful I later do UPDATE
of the same partition, I will be fine. Am I wrong?