Synchronous condition-based consensus

被引:14
作者
Mostefaoui, A
Rajsbaum, S
Raynal, M
机构
[1] IRISA, F-35042 Rennes, France
[2] Univ Nacl Autonoma Mexico, Inst Matemat, Mexico City 04510, DF, Mexico
关键词
consensus; early deciding; input vector; process crash failure; synchronous distributed system;
D O I
10.1007/s00446-005-0148-1
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The condition-based approach studies restrictions on the inputs to a distributed problem, called conditions, that facilitate its solution. Previous work considered mostly the asynchronous model of computation. This paper studies conditions for consensus in a synchronous system where processes can fail by crashing. It describes a full classification of conditions for consensus, establishing a continuum between the asynchronous and synchronous models, with the following hierarchy S-t([-i]) subset of (...) S-t([0]) subset of (...) subset of S-t([i]) where S-t([i]) includes all conditions (and in particular the trivial one made up of all possible input vectors). For a con dition C E St, t <= d <= t, we have: For values of d <= 0 consensus is solvable in an asynchronous system with t failures, and we obtain the known hierarchy of conditions that allows solving asynchronous consensus with more and more efficient protocols as we go from d = 0 to d = -t. For values of d > 0 consensus is known not solvable in an asynchronous system with t failures, but we obtain a hierarchy of conditions that allows solving synchronous consensus with protocols that can take more and more rounds, as we go from d = 0 to d = t. d = 0 is the borderline case where consensus can be solved in an asynchronous system with t failures, and can be solved optimally in a synchronous system. After having established the complete hierarchy, the paper concentrates on the two last items: 0 <= d <= t. The main result is that the necessary and sufficient number of rounds needed to solve uniform consensus for a condition C is an element of S-i([d]) (such that C is not an element of S-i([d-1])) is d + 1. In more detail, the paper presents a generic synchronous early-deciding uniform consensus protocol that enjoys the following properties. Let f be the number of actual crashes, I the input vector and C is an element of S-t([d]) the condition the protocol is instantiated with. The protocol terminates in two rounds when I is an element of C and f <= t - d, and in at most d + 1 rounds when I is an element of C and f > t - d. (It also terminates in one round when I is an element of C and d = f = 0.) Moreover, whether I belongs or not to C, no process requires more than min(t + 1, f + 2) rounds to decide. The paper then proves a corresponding lower bound stating that at least d + I rounds are necessary to get a decision in the worst case when I is an element of C (for C is an element of S-t([d]) and C is not an element of S-t([d-1])).
引用
收藏
页码:325 / 343
页数:19
相关论文
共 32 条
  • [1] A simple bivalency proof that t-resilient consensus requires t+1 rounds
    Aguilera, MK
    Toueg, S
    [J]. INFORMATION PROCESSING LETTERS, 1999, 71 (3-4) : 155 - 158
  • [2] ATTIYA H, 2002, SPRINGER VERLAG LNCS, V2508, P326
  • [3] ATTIYA H, 1998, DISTRIBUTED COMPUTIN
  • [4] Unreliable failure detectors for reliable distributed systems
    Chandra, TD
    Toueg, S
    [J]. JOURNAL OF THE ACM, 1996, 43 (02) : 225 - 267
  • [5] Uniform consensus is harder than consensus
    Charron-Bost, B
    Schiper, A
    [J]. JOURNAL OF ALGORITHMS-COGNITION INFORMATICS AND LOGIC, 2004, 51 (01): : 15 - 37
  • [6] MORE CHOICES ALLOW MORE FAULTS - SET CONSENSUS PROBLEMS IN TOTALLY ASYNCHRONOUS SYSTEMS
    CHAUDHURI, S
    [J]. INFORMATION AND COMPUTATION, 1993, 105 (01) : 132 - 158
  • [7] EARLY STOPPING IN BYZANTINE AGREEMENT
    DOLEV, D
    REISCHUK, R
    STRONG, HR
    [J]. JOURNAL OF THE ACM, 1990, 37 (04) : 720 - 741
  • [8] REACHING APPROXIMATE AGREEMENT IN THE PRESENCE OF FAULTS
    DOLEV, D
    LYNCH, NA
    PINTER, SS
    STARK, EW
    WEIHL, WE
    [J]. JOURNAL OF THE ACM, 1986, 33 (03) : 499 - 516
  • [9] KNOWLEDGE AND COMMON KNOWLEDGE IN A BYZANTINE ENVIRONMENT - CRASH FAILURES
    DWORK, C
    MOSES, Y
    [J]. INFORMATION AND COMPUTATION, 1990, 88 (02) : 156 - 186
  • [10] CONSENSUS IN THE PRESENCE OF PARTIAL SYNCHRONY
    DWORK, C
    LYNCH, N
    STOCKMEYER, L
    [J]. JOURNAL OF THE ACM, 1988, 35 (02) : 288 - 323