Supporting atomicity of multi-site transactions in a distributed transaction management system is equated with long-duration delays, blocking, and loss of autonomy of the individual sites. The two-phase Commit protocol embodies these problems. The focus of this paper is on an alternative notion of relaxed atomicity where these difficult ies are alleviated. Relaxed atomicity is characterized by an asynchronous process of recovering from uncoordinated local decisions as to whether to commit or abort a multi-site transaction, and finally coercing a unanimous outcome. The consequent atomicity notion is weaker than the standard all-or-nothing atomicity, as transactions with discrepant commit decisions are recovered semantically rather than physically. A formal model that unifies the two dual methods of semantic recovery, namely compensation and retry, is constructed. Due to the asynchrony introduced to the commit procedure, non-atomic executions of t ransactions occur, and it is required to isolate them from other transactions until they are semantically recovered. The required isolation property is defined, and a protocol that satisfies this property is presented.
[1]
A. Reuter,et al.
Migrating transactions
,
1988,
[1988] Proceedings. Workshop on the Future Trends of Distributed Computing Systems in the 1990s.
[2]
Hector Garcia-Molina,et al.
Using semantic knowledge for transaction processing in a distributed database
,
1983,
TODS.
[3]
Abraham Silberschatz,et al.
A Formal Approach to Recovery by Compensating Transactions
,
1990,
VLDB.
[4]
Jim Gray,et al.
Notes on Data Base Operating Systems
,
1978,
Advanced Course: Operating Systems.
[5]
Jim Gray,et al.
The Transaction Concept: Virtues and Limitations (Invited Paper)
,
1981,
VLDB.
[6]
Dale Skeen,et al.
Nonblocking commit protocols
,
1981,
SIGMOD '81.
[7]
SilberschatzAbraham,et al.
An optimistic commit protocol for distributed transaction management
,
1991
.
[8]
Abraham Silberschatz,et al.
Reliable transaction management in a multidatabase system
,
1990,
SIGMOD '90.
[9]
Johannes Klein,et al.
Coordinating multi-transaction activities
,
1990
.