INVARIANT-BASED VERIFICATION OF A DISTRIBUTED DEADLOCK DETECTION ALGORITHM

被引:30
作者
KSHEMKALYANI, AD
SINGHAL, M
机构
[1] Department of Computer and Information Science, The Ohio State University, Columbus, OH 43210
关键词
CORRECTNESS PROOF; DISTRIBUTED ALGORITHMS; DISTRIBUTED DATABASES; DISTRIBUTED DEADLOCK DETECTION; INVARIANT;
D O I
10.1109/32.83914
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Most previous proposals for distributed deadlock detection are incorrect because they have used informal/intuitive arguments to prove the correctness of their algorithms. Informal and intuitive arguments are prone to errors because of the highly complex nature of distributed deadlock detection/resolution algorithms. In this paper we first correct the priority-based probe algorithm for distributed deadlock detection and resolution of Choudhary et al. [3] and then formally prove that the modified algorithm is correct (i,e., it does detect all deadlocks and does not report phantom deadlocks). Our proof technique is novel because we first abstract the properties of the deadlock detection and resolution algorithm by invariants, and then show that the invariants imply the desired correctness of the algorithm. This is the first attempt at a formal proof of the correctness of a distributed deadlock detection and resolution algorithm.
引用
收藏
页码:789 / 799
页数:11
相关论文
共 17 条
[1]   DISTRIBUTED DEADLOCK DETECTION [J].
CHANDY, KM ;
MISRA, J ;
HAAS, LM .
ACM TRANSACTIONS ON COMPUTER SYSTEMS, 1983, 1 (02) :144-156
[2]  
CHOUDHARY AL, 1989, IEEE T SOFTWARE ENG, V15, P1544
[3]   A MODIFIED PRIORITY BASED PROBE ALGORITHM FOR DISTRIBUTED DEADLOCK DETECTION AND RESOLUTION [J].
CHOUDHARY, AN ;
KOHLER, WH ;
STANKOVIC, JA ;
TOWSLEY, D .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1989, 15 (01) :10-17
[4]   A DISTRIBUTED DEADLOCK DETECTION AND RESOLUTION ALGORITHM AND ITS CORRECTNESS PROOF [J].
ELMAGARMID, AK ;
SOUNDARARAJAN, N ;
LIU, MT .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1988, 14 (10) :1443-1452
[5]  
HAILPERN B, 1980, P NBS S COMPUT NETWO
[6]   PROTOCOLS FOR DEADLOCK DETECTION IN DISTRIBUTED DATABASE-SYSTEMS [J].
HO, GS ;
RAMAMOORTHY, CV .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1982, 8 (06) :554-557
[7]  
KNAPP E, 1987, ACM COMPUTING SU DEC, P303
[8]  
KSHEMKALYANI AD, 1990, CISRC690TR15 OH STAT
[9]   LOCKING AND DEADLOCK DETECTION IN DISTRIBUTED DATA-BASES [J].
MENASCE, DA ;
MUNTZ, RR .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1979, 5 (03) :195-202
[10]   DISTRIBUTED DEADLOCK DETECTION ALGORITHM [J].
OBERMARCK, R .
ACM TRANSACTIONS ON DATABASE SYSTEMS, 1982, 7 (02) :187-208