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 条
[1]  
Ahamad M., 1987, Proceedings of the Sixth Symposium on Reliability in Distributed Software and Database Systems (Cat. No.87CH2411-7), P161
[2]  
Alsberg P. A., 1976, 2nd International Conference on Software Engineering, P562
[3]  
ATTAR R, 1982, 6TH P BERK WORKSH DI, P185
[4]   THE VULNERABILITY OF VOTE ASSIGNMENTS [J].
BARBARA, D ;
GARCIAMOLINA, H .
ACM TRANSACTIONS ON COMPUTER SYSTEMS, 1986, 4 (03) :187-213
[5]  
BARBARA D, 1986, 1986 P IEEE C DISTR, P37
[6]  
BARBARA D, 1986, 5TH P ACM S PRINC DI, P195
[7]  
BARBARA D, 1984, TR330 U PRINC DEP EL
[8]  
BARBARA D, 1986, CSTR05686 PRINC U DE
[9]  
BERNSTEIN PA, 1981, ACM COMPUT SURV, V13, P185
[10]  
Bernstein Philip A., 1987, CONCURRENCY CONTROL