Understanding How Distributed Systems Avoid Race Conditions
What if another transaction modified the data after the validation step succeeded but before the transaction commits?
the validation step must be kept at commit level atomically
What if another transaction modified the data after the validation step succeeded but before the transaction commits?
the validation step must be kept at commit level atomically