Distributed transaction processing control
First Claim
1. A server computer in a distributed transaction processing system in which a master server computer performs a distributed transaction processing in cooperation with a plurality of slave server computers that perform a local transaction processing, the server computer having both a function of the master server computer and a function of the slave server computer, comprising:
- a log-data recording unit that records progress of any one of the distributed transaction processing and the local transaction processing as log data in a shared disk accessible from both the master server computer and the slave server computers, the log-data recording unit includinga first log-data recording unit that records progress of the distributed transaction processing once the server computer is functioning as the master server computer; and
a second log-data recording unit that records progress of the local transaction processing once the server computer is functioning as the slave server computer; and
a fault recovery unit that performs a fault recovery based on the log data, whereinthe progress of the distributed transaction processing is represented by a commitment request log, and the progress of the local transaction processing is represented by a prepared log and a commitment receive log, whereinupon successfully performing the local transaction processing, the server computer functioning as the slave server computer records the prepared log,upon receiving success replies from all of the server computers functioning as the slave server computers, the server computer functioning as the master server computer records the commitment request log before sending a commitment request to the all of the server computers functioning as the slave server computers, andupon receiving the commitment request, the server computer functioning as the slave server computer records the commitment receive log.
1 Assignment
0 Petitions
Accused Products
Abstract
A distributed transaction processing system includes a master server (coordinator) and slave servers (participants). The master server and the slave servers create log file that indicates progress of a transaction. The log file is stored in a shared disk accessible from all the servers. When a fault occurs in the master server, the master server can continue a local transaction processing, which has been interrupted by the fault, after recovery from the fault by referring to the log file. When the fault occurs in any one of the slave servers, the master server can perform fault recovery of a transaction in which the faulty server is involved.
15 Citations
10 Claims
-
1. A server computer in a distributed transaction processing system in which a master server computer performs a distributed transaction processing in cooperation with a plurality of slave server computers that perform a local transaction processing, the server computer having both a function of the master server computer and a function of the slave server computer, comprising:
-
a log-data recording unit that records progress of any one of the distributed transaction processing and the local transaction processing as log data in a shared disk accessible from both the master server computer and the slave server computers, the log-data recording unit including a first log-data recording unit that records progress of the distributed transaction processing once the server computer is functioning as the master server computer; and a second log-data recording unit that records progress of the local transaction processing once the server computer is functioning as the slave server computer; and a fault recovery unit that performs a fault recovery based on the log data, wherein the progress of the distributed transaction processing is represented by a commitment request log, and the progress of the local transaction processing is represented by a prepared log and a commitment receive log, wherein upon successfully performing the local transaction processing, the server computer functioning as the slave server computer records the prepared log, upon receiving success replies from all of the server computers functioning as the slave server computers, the server computer functioning as the master server computer records the commitment request log before sending a commitment request to the all of the server computers functioning as the slave server computers, and upon receiving the commitment request, the server computer functioning as the slave server computer records the commitment receive log. - View Dependent Claims (2, 3, 4)
-
-
5. A computer-readable recording medium that stores a computer program for a server computer in a distributed transaction processing system in which a master server computer performs a distributed transaction processing in cooperation with a plurality of slave server computers that perform a local transaction processing, wherein the computer program causes the server computer having both a function of the master server computer and a function of a slave server computer to execute;
-
recording progress of any one of the distributed transaction processing, once the server computer functions as the master server computer; and
recording progress of the local transaction processing, once the server computer functions as the slave server computer, as log data in a shared disk that is accessible from both the master server computer and the slave server computers; andperforming a fault recovery based on the log data, wherein the progress of the distributed transaction processing is represented by a commitment request log, and the progress of the local transaction processing is represented by a prepared log and a commitment receive log, wherein upon successfully performing the local transaction processing, the server computer functioning as the slave server computer records the prepared log, upon receiving success replies from all of the server computers functioning as the slave server computers, the server computer functioning as the master server computer records the commitment request log before sending a commitment request to the all of the server computers functioning as the slave server computers, and upon receiving the commitment request, the server computer functioning as the slave server computer records the commitment receive log. - View Dependent Claims (6, 7, 8)
-
-
9. A processing method for a server computer in a distributed transaction processing system in which a master server computer performs a distributed transaction processing in cooperation with a plurality of slave server computers that perform a local transaction processing, the server computer having both a function of the master server computer and a function of a slave server computer, comprising:
-
recording progress of any one of the distributed transaction processing, once the server computer functions as the master server computer, and recording progress of the local transaction processing, once the server computer functions as the slave server computer, as log data in a shared disk that is accessible from both the master server computer and the slave server computers; and performing a fault recovery based on the log data, wherein the progress of the distributed transaction processing is represented by a commitment request log, and the progress of the local transaction processing is represented by a prepared log and a commitment receive log, wherein upon successfully performing the local transaction processing, the server computer functioning as the slave server computer records the prepared log, upon receiving success replies from all of the server computers functioning as the slave server computers, the server computer functioning as the master server computer records the commitment request log before sending a commitment request to the all of the server computers functioning as the slave server computers, and upon receiving the commitment request, the server computer functioning as the slave server computer records the commitment receive log. - View Dependent Claims (10)
-
Specification