Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to operate the transaction of cassandra? [closed]

Tags:

cassandra

In my project, I use the spring, but the cassandra cannot support transaction. How to operate the transaction of cassandra in service layer?

like image 309
Elton Wang Avatar asked Oct 21 '22 10:10

Elton Wang


1 Answers

You can log every transaction you carry out, store them in a log file of some sort and when you want to undo it create a query that does the opposite of what you just did.

like image 150
Lyuben Todorov Avatar answered Oct 25 '22 19:10

Lyuben Todorov