arXivDaily arXiv每日学术速递 周一至周五更新
arXiv cs/0408036cs.DCcs.DB
收藏

交易承诺共识

Consensus on Transaction Commit

Jim Gray, Leslie Lamport

摘要:

分布式事务提交问题需要就事务是提交还是中止达成一致。如果协调器失败,经典的两阶段提交协议就会阻塞。容错共识算法也能达成一致,但不会在大多数进程都在工作时阻塞。在每个参与者的提交/中止决策上运行Paxos共识算法会产生一个事务提交协议,该协议使用2F +1个协调器,如果其中至少有F +1个协调器工作,则会取得进展。在无故障的情况下,该算法需要一个额外的消息延迟,但具有与两阶段提交相同的稳定存储写入延迟。经典的Two-Phase Commit算法是作为一般Paxos Commit算法的特殊F = 0情况而得到的。

英文摘要:

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. Running a Paxos consensus algorithm on the commit/abort decision of each participant yields a transaction commit protocol that uses 2F +1 coordinators and makes progress if at least F +1 of them are working. In the fault-free case, this algorithm requires one extra message delay but has the same stable-storage write delay as Two-Phase Commit. The classic Two-Phase Commit algorithm is obtained as the special F = 0 case of the general Paxos Commit algorithm.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑