DYNAMIC VOTING ALGORITHMS FOR MAINTAINING THE CONSISTENCY OF A REPLICATED DATABASE

被引:90
作者
JAJODIA, S
MUTCHLER, D
机构
[1] USN,RES LAB,WASHINGTON,DC 20375
[2] UNIV TENNESSEE,DEPT COMP SCI,KNOXVILLE,TN 37996
来源
ACM TRANSACTIONS ON DATABASE SYSTEMS | 1990年 / 15卷 / 02期
关键词
D O I
10.1145/78922.78926
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
There are several replica control algorithms for managing replicated files in the face of network partitioning due to site or communication link failures. Pessimistic algorithms ensure consistency at the price of reduced availability; they permit at most one 1990 partition to process updates at any given time. The best known pessimistic algorithm, voting, is a “static” algorithm, meaning that all potential distinguished partitions can be listed in advance. We present a dynamic extension of voting called dynamic voting. This algorithm permits updates in a partition provided it contains more than half of the up-to-date copies of the replicated file. We also present an extension of dynamic voting called dynamic voting with linearly ordered copies (abbreviated as dynamic-linear). These algorithms are dynamic because the order in which past distinguished partitions were created plays a role in the selection of the next distinguished partition. Our algorithms have all the virtues of ordinary voting, including its simplicity, and provide improved availability as well. We provide two stochastic models to support the latter claim. In the first (site) model, sites may fail but communication links are infallible; in the second (link) model the reverse is true. We prove that under the site model, dynamic-linear has greater availability than any static algorithm, including weighted voting, if there are four or more sites in the network. In the link model, we consider all biconnected five-site networks and a wide variety of failure and repair rates. In all cases considered, dynamic-linear had greater availability than any static algorithm. © 1990, ACM. All rights reserved.
引用
收藏
页码:230 / 280
页数:51
相关论文
共 55 条
[41]   REACHING AGREEMENT IN THE PRESENCE OF FAULTS [J].
PEASE, M ;
SHOSTAK, R ;
LAMPORT, L .
JOURNAL OF THE ACM, 1980, 27 (02) :228-234
[42]  
RAMARAO K, 1988, 4TH P INT C DAT ENG, P512
[43]  
RAMARAO KVS, 1987, 3RD P IEEE INT C DAT, P405
[44]   SYSTEM ARCHITECTURE FOR PARTITION-TOLERANT DISTRIBUTED DATABASES [J].
SARIN, SK ;
BLAUSTEIN, BT ;
KAUFMAN, CW .
IEEE TRANSACTIONS ON COMPUTERS, 1985, 34 (12) :1158-1163
[45]   FAIL-STOP PROCESSORS - AN APPROACH TO DESIGNING FAULT-TOLERANT COMPUTING SYSTEMS [J].
SCHLICHTING, RD ;
SCHNEIDER, FB .
ACM TRANSACTIONS ON COMPUTER SYSTEMS, 1983, 1 (03) :222-238
[46]  
SEGUIN J, 1979, 1979 P IEEE INT C DI, P617
[47]  
SELINGER PG, 1980, DISTRIBUTED DATABASE
[48]   A FORMAL MODEL OF CRASH RECOVERY IN A DISTRIBUTED SYSTEM [J].
SKEEN, D ;
STONEBRAKER, M .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1983, 9 (03) :219-228
[49]  
SKEEN D, 1984, 3RD P ACM SIGACT SIG, P290
[50]  
Thomas R. H., 1979, ACM Transactions on Database Systems, V4, P180, DOI 10.1145/320071.320076