Consensus on transaction commit
Jim Gray, Leslie Lamport · ACM Transactions on Database Systems · 2006
The distributed transaction commit problem requires reaching agreement on whether a transaction is committed or aborted. The classic Two-Phase Commit protocol blocks if the coordinator fails. Fault-tolerant consensus algorithms also reach agreement, but do not block whenever any majority of the processes are working. The Paxos Commit algorithm runs a Paxos consensus algorithm on the commit/abort decision of each participant to obtain a transaction commit protocol that uses 2 F + 1 coordinators and makes progress if at least F + 1 of them are working properly. Paxos Commit has the same stable-storage write delay, and can be implemented to have the same message delay in the fault-free case as Two-Phase Commit, but it uses more messages. The classic Two-Phase Commit algorithm is obtained as the special F = 0 case of the Paxos Commit algorithm.
Cited by 346 works. doi:10.1145/1132863.1132867 Open-access PDF
Authors
References
- Lecture Notes in Computer Science 1205
- Reaching Agreement in the Presence of Faults
- Notes on data base operating systems
- Impossibility of distributed consensus with one faulty process
- The part-time parliament
- Consensus in the presence of partial synchrony
- Operating systems — an advanced course
- Defining liveness
- Paxos Made Simple
- Transaction monitoring in ENCOMPASS: reliable distributed transaction processing