Consensus on transaction commit

被引:152
作者
Gray, Jim
Lamport, Leslie
机构
[1] Microsoft Res, San Francisco, CA 94105 USA
[2] Microsoft Res, Mountain View, CA 94043 USA
来源
ACM TRANSACTIONS ON DATABASE SYSTEMS | 2006年 / 31卷 / 01期
关键词
algorithms; reliability; consensus; Paxos; two-phase commit;
D O I
10.1145/1132863.1132867
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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 2F + 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.
引用
收藏
页码:133 / 160
页数:28
相关论文
共 19 条
  • [1] Aguilera MK, 2001, P 15 INT C DISTRIBUT, P108
  • [2] DEFINING LIVENESS
    ALPERN, B
    SCHNEIDER, FB
    [J]. INFORMATION PROCESSING LETTERS, 1985, 21 (04) : 181 - 185
  • [3] Bernstein P.A., 1987, Concurrency Control and Recovery in Database Systems
  • [4] Borr A. J., 1981, Proceedings of the Seventh International Conference on Very Large Data Bases, P155
  • [5] CHARRONBOST B, 2000, DSC2000028 EC POL FE
  • [6] De Prisco R, 1997, LECT NOTES COMPUT SC, V1320, P111, DOI 10.1007/BFb0030679
  • [7] CONSENSUS IN THE PRESENCE OF PARTIAL SYNCHRONY
    DWORK, C
    LYNCH, N
    STOCKMEYER, L
    [J]. JOURNAL OF THE ACM, 1988, 35 (02) : 288 - 323
  • [8] IMPOSSIBILITY OF DISTRIBUTED CONSENSUS WITH ONE FAULTY PROCESS
    FISCHER, MJ
    LYNCH, NA
    PATERSON, MS
    [J]. JOURNAL OF THE ACM, 1985, 32 (02) : 374 - 382
  • [9] Gray J. N., 1978, Operating Systems. An Advanced Course, P393
  • [10] Reducing the cost for non-blocking in atomic commitment
    Guerraoui, R
    Larrea, M
    Schiper, A
    [J]. PROCEEDINGS OF THE 16TH INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS, 1996, : 692 - 697