Conditions on input vectors for consensus solvability in asynchronous distributed systems

被引:55
作者
Mostefaoui, A [1 ]
Rajsbaum, S [1 ]
Raynal, M [1 ]
机构
[1] Univ Rennes 1, Inst Rech Informat & Syst Aleatoires, IFSIC, F-35042 Rennes, France
关键词
asynchronous systems; consensus problem; crash failures; fault-tolerance; message-passing; atomic registers; shared memory;
D O I
10.1145/950620.950624
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
This article introduces and explores the condition-based approach to solve the consensus problem in asynchronous systems. The approach studies conditions that identify sets of input vectors for which it is possible to solve consensus despite the occurrence of up to f process crashes. The first main result defines acceptable conditions and shows that these are exactly the conditions for which a consensus protocol exists. Two examples of realistic acceptable conditions are presented, and proved to be maximal, in the sense that they cannot be extended and remain acceptable. The second main result is a generic consensus shared-memory protocol for any acceptable condition. The protocol always guarantees agreement and validity, and terminates (at least) when the inputs satisfy the condition with which the protocol has been instantiated, or when there are no crashes. An efficient version of the protocol is then designed for the message passing model that works when f < n/2, and it is shown that no such protocol exists when f greater than or equal to n/2. It is also shown how the protocol's safety can be traded for its liveness.
引用
收藏
页码:922 / 954
页数:33
相关论文
共 55 条
[1]   ATOMIC SNAPSHOTS OF SHARED-MEMORY [J].
AFEK, Y ;
ATTIYA, H ;
DOLEV, D ;
GAFNI, E ;
MERRITT, M ;
SHAVIT, N .
JOURNAL OF THE ACM, 1993, 40 (04) :873-890
[2]  
Aguilera MK, 1999, SIAM J COMPUT, V28, P890, DOI 10.1137/S0097539796312915
[3]  
Aspnes J., 2000, Proceeding of the Nineteenth Annual ACM Symposium on Principles of Distributed Computing, P299, DOI 10.1145/343477.343631
[4]   Atomic snapshots in O(n log n) operations [J].
Attiya, H ;
Rachman, O .
SIAM JOURNAL ON COMPUTING, 1998, 27 (02) :319-340
[5]   Efficient and robust sharing of memory in message-passing systems [J].
Attiya, H .
JOURNAL OF ALGORITHMS, 2000, 34 (01) :109-127
[6]   SHARING MEMORY ROBUSTLY IN MESSAGE-PASSING SYSTEMS [J].
ATTIYA, H ;
BARNOY, A ;
DOLEV, D .
JOURNAL OF THE ASSOCIATION FOR COMPUTING MACHINERY, 1995, 42 (01) :124-142
[7]  
ATTIYA H, 2002, P 16 INT S DISTR COM, P326
[8]  
ATTIYA H, 1998, P 16 INT S DISTR COM
[9]  
ATTIYA H, 1998, DISTRIBUTED COMPUTIN
[10]  
AUMANN Y, 1997, 16 ACM S PRINC DISTR, P209