Data recovery system and method of distributed transaction processing system
First Claim
1. A data recovery system of a distributed transaction processing system of a two-phase commit scheme, in which data processing systems serving as server systems are connected to a data processing system serving as a client system through a communication line, and each of said server systems performs PHASE I processing and PHASE II processing in response to transaction processing requests from said client system, comprising:
- means for issuing a transaction completion processing request from said client system to each of said server systems;
two-phase processing means for performing the PHASE I processing and the PHASE II processing in response to the transaction completion processing request, and outputting to said client system transaction processing status data indicating whether the processing has been completed;
storage means for receiving and storing said transaction processing status data from said two-phase processing means for each of said server systems;
means for inquiring of said client system the transaction processing status data output from said two-phase processing means and stored in said storage means when an operation is resumed after a system failure of said server system; and
means for performing data recovery processing when the status data indicates that the transaction completion processing of said server has not been completed.
1 Assignment
0 Petitions
Accused Products
Abstract
In a distributed transaction processing system of a two-phase commit scheme, a client sequentially requests all the servers to perform PHASE I processing. When all the servers complete the PHASE I processing, the client stores data indicating the completion of the processing. When an operation is restarted after a system down of a given server, the server inquires of the client whether all the servers have completed the PHASE I processing. If all the servers have completed the PHASE I processing, the server executes PHASE II processing. If not all the servers have completed the PHASE I processing, the server in which failures occur, causing abnormal system termination performs rollback processing, and the client requests other servers which have completed the PHASE I processing to perform rollback processing.
80 Citations
8 Claims
-
1. A data recovery system of a distributed transaction processing system of a two-phase commit scheme, in which data processing systems serving as server systems are connected to a data processing system serving as a client system through a communication line, and each of said server systems performs PHASE I processing and PHASE II processing in response to transaction processing requests from said client system, comprising:
-
means for issuing a transaction completion processing request from said client system to each of said server systems; two-phase processing means for performing the PHASE I processing and the PHASE II processing in response to the transaction completion processing request, and outputting to said client system transaction processing status data indicating whether the processing has been completed; storage means for receiving and storing said transaction processing status data from said two-phase processing means for each of said server systems; means for inquiring of said client system the transaction processing status data output from said two-phase processing means and stored in said storage means when an operation is resumed after a system failure of said server system; and means for performing data recovery processing when the status data indicates that the transaction completion processing of said server has not been completed. - View Dependent Claims (2, 3, 4)
-
-
5. A data recovery system of a distributed transaction processing system of a two-phase commit scheme, in which a plurality of data processing systems serving as server systems or client systems are connected to each other through a communication line, each of said data processing systems, comprising:
-
storage means for storing status data indicating whether transaction completion processing of all said data processing systems is completed; data recovery processing processing means for performing data recovery processing on the basis of the status data stored in said storage means when an operation is restarted after a system failure; and control means for, while said data processing system serves as a client system, causing said storage means to store status data indicating whether transaction processing of each of said server systems is completed, and for, while said data processing system serves as a server system, performing data recovery processing on the basis of the status data stored in said storage means by controlling said data recovery processing means when an operation is restarted after a system failure of said server system.
-
-
6. A data recovery method of a distributed transaction processing system of a two-phase commit scheme, in which data processing systems serving as server systems are connected to a data processing system serving as a client system through a communication line, and each of said server systems performs PHASE I processing and PHASE II processing in response to transaction processing requests from said client system, comprising the steps of:
-
(a) holding data indicating whether all said server systems have completed the PHASE I processing; (b) inquiring of said client system whether all said server systems have completed the PHASE I processing when an operation is restarted after a system failure of said server system; and (c) causing said server system to perform the PHASE II processing when response data with respect to the inquiry indicates that all said server systems have completed the PHASE I processing, and causing said server system to perform rollback processing when the response data indicates that not all said server systems have completed the PHASE I processing. - View Dependent Claims (7, 8)
-
Specification