Formal Verification of Multi-Paxos for Distributed Consensus

被引:30
作者
Chand, Saksham [1 ]
Liu, Yanhong A. [1 ]
Stoller, Scott D. [1 ]
机构
[1] SUNY Stony Brook, Dept Comp Sci, Stony Brook, NY 11794 USA
来源
FM 2016: FORMAL METHODS | 2016年 / 9995卷
关键词
D O I
10.1007/978-3-319-48989-6_8
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper describes formal specification and verification of Lamport's Multi-Paxos algorithm for distributed consensus. The specification is written in TLA+, Lamport's Temporal Logic of Actions. The proof is written and checked using TLAPS, a proof system for TLA+. Building on Lamport, Merz, and Doligez's specification and proof for Basic Paxos, we aim to facilitate the understanding of Multi-Paxos and its proof by minimizing the difference from those for Basic Paxos, and to demonstrate a general way of proving other variants of Paxos and other sophisticated distributed algorithms. We also discuss our general strategies for proving properties about sets and tuples that helped the proof check succeed in significantly reduced time.
引用
收藏
页码:119 / 136
页数:18
相关论文
共 35 条
[1]  
Burrows M, 2006, USENIX ASSOCIATION 7TH USENIX SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION, P335
[2]  
Chand S., 2016, ARXIV160601387
[3]  
Chandra T, 2007, PODC'07: PROCEEDINGS OF THE 26TH ANNUAL ACM SYMPOSIUM ON PRINCIPLES OF DISTRIBUTED COMPUTING, P398
[4]  
Charron-Bost B., 2009, INT J SOFTWARE INFOR, V3, P273
[5]   The Heard-Of model: computing in distributed systems with benign faults [J].
Charron-Bost, Bernadette ;
Schiper, Andre .
DISTRIBUTED COMPUTING, 2009, 22 (01) :49-71
[6]  
Clarke EM, 1999, MODEL CHECKING, P1
[7]  
Constable R. L., 1986, Implementing Mathematics with the Nuprl Proof Development System
[8]   Model Checking Paxos in Spin [J].
Delzanno, Giorgio ;
Tatarek, Michele ;
Traverso, Riccardo .
ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2014, (161) :131-146
[9]  
Dragoi C, 2016, ACM SIGPLAN NOTICES, V51, P400, DOI [10.1145/2914770.2837650, 10.1145/2837614.2837650]
[10]   Dynamic partial-order reduction for model checking software [J].
Flanagan, C ;
Godefroid, P .
ACM SIGPLAN NOTICES, 2005, 40 (01) :110-121