-
I have a couple of questions regarding concurrency:
Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
The following is solely about pre 5.2 cluster transactions (or cluster transactions today with disabling atomic guards, not recommended): The transaction in this case isn't executed on the node that accepts it. Instead, it is distributed on the cluster and only once a majority of the nodes in the cluster accepted it will it be written. Consider:
Versus:
|
Beta Was this translation helpful? Give feedback.
-
Cluster wide transactions vs. optimistic concurrency serve very different needs. |
Beta Was this translation helpful? Give feedback.
The following is solely about pre 5.2 cluster transactions (or cluster transactions today with disabling atomic guards, not recommended):
The transaction in this case isn't executed on the node that accepts it. Instead, it is distributed on the cluster and only once a majority of the nodes in the cluster accepted it will it be written.
Any follow up action from the client after the transaction complete must see the transaction in any node it is using.
Consider: