What is Two-Phase Commit?
Advertisement


Two-Phase Commit has two phases, a prepare phase and a commit phase.


It is the mechanism ensuring a distributed transaction either commits on all involved nodes or rolls back on all involved nodes.