Quantcast
Channel: Can I detect conflicts when writing to Cassandra? - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Can I detect conflicts when writing to Cassandra?

$
0
0

Is there some timestamp/counter that can be used to validate that in a read-modify-write cycle, the data in the row did not change between reading and modifying?

In other words, can I read some kind of ID while reading the row, and when I write it back tell Cassandra what that ID was, and the write then fails if the ID changed since then? (Which amounts to saying that some other write took place after I read the data)


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images