Commit controlling scheme for transaction processing in system utilizing check point/roll back scheme
First Claim
1. A commit control method for transaction processing executed in a computer system having a fault recovery mechanism for generating check points by recurrently recording process states and for restarting processes by recovering the process states at a check point before a fault occurrence in a case of the fault occurrence, the method comprising the steps of:
- detecting a generation of a new check point for a transaction processing process that executes the transaction processing, the generation being performed by the fault recovery mechanism after a transaction is committed by the transaction processing process; and
controlling an issuance of an external output for notifying to a user that the transaction has been committed, such that the external output is issued after the generation of the new check point is detected by the detecting step;
wherein the transaction processing is realized by the transaction processing process and a client process which sends a request to the transaction processing process and issues the external output to the user, and the controlling step includes the steps of;
delaying an issuance of a transaction commit notice to be sent from the transaction processing process to the client process when the transaction is committed by the transaction processing process; and
issuing the transaction commit notice from the transaction processing process to the client process after the generation of the new check point is detected by the detecting step, such that the client process issues the external output upon receiving the transaction commit notice.
1 Assignment
0 Petitions
Accused Products
Abstract
A commit controlling scheme for a transaction processing in a system utilizing the check point/roll back scheme, which is capable of guaranteeing the reliability of data of the transaction processing even when the transaction processing and the check point/roll back scheme are employed simultaneously, is described. An issuance of an external output for notifying to a user that a transaction has been committed is delayed until after a new check point for the transaction processing process is generated by the fault recovery mechanism at a timing later than a commit of the transaction by the transaction processing process. This can be realized by delaying an issuance of a transaction commit notice from the transaction processing process, or by intercepting a transaction commit notice sent from the transaction processing process, or else by delaying an issuance of the external output by the client process after receiving a transaction commit notice from the transaction processing process.
48 Citations
12 Claims
-
1. A commit control method for transaction processing executed in a computer system having a fault recovery mechanism for generating check points by recurrently recording process states and for restarting processes by recovering the process states at a check point before a fault occurrence in a case of the fault occurrence, the method comprising the steps of:
-
detecting a generation of a new check point for a transaction processing process that executes the transaction processing, the generation being performed by the fault recovery mechanism after a transaction is committed by the transaction processing process; and
controlling an issuance of an external output for notifying to a user that the transaction has been committed, such that the external output is issued after the generation of the new check point is detected by the detecting step;
wherein the transaction processing is realized by the transaction processing process and a client process which sends a request to the transaction processing process and issues the external output to the user, and the controlling step includes the steps of;
delaying an issuance of a transaction commit notice to be sent from the transaction processing process to the client process when the transaction is committed by the transaction processing process; and
issuing the transaction commit notice from the transaction processing process to the client process after the generation of the new check point is detected by the detecting step, such that the client process issues the external output upon receiving the transaction commit notice.
-
-
2. A commit control method for transaction processing executed in a computer system having a fault recovery mechanism for generating check points by recurrently recording process states and for restarting processes by recovering the process states at a check point before a fault occurrence in a case of the fault occurrence, the method comprising the steps of:
-
detecting a generation of a new check point for a transaction processing process that executes the transaction processing, the generation being performed by the fault recovery mechanism after a transaction is committed by the transaction processing process; and
controlling an issuance of an external output for notifying to a user that the transaction has been committed, such that the external output is issued after the generation of the new check point is detected by the detecting step;
wherein the transaction processing is realized by the transaction processing process and a client process which sends a request to the transaction processing process and issues the external output to the user, and the controlling step includes the steps of;
intercepting a transaction commit notice sent from the transaction processing process toward the client process when the transaction is committed by the transaction processing process; and
sending the transaction commit notice intercepted at the intercepting step to the client process after the generation of the new check point is detected by the detecting step, such that the client process issues the external output upon receiving the transaction commit notice.
-
-
3. A commit control method for transaction processing executed in a computer system having a fault recovery mechanism for generating check points by recurrently recording process states and for restarting processes by recovering the process states at a check point before a fault occurrence in a case of the fault occurrence, the method comprising the steps of:
-
detecting a generation of a new check point for a transaction processing process that executes the transaction processing, the generation being performed by the fault recovery mechanism after a transaction is committed by the transaction processing process; and
controlling an issuance of an external output for notifying to a user that the transaction has been committed, such that the external output is issued after the generation of the new check point is detected by the detecting step;
wherein the transaction processing is realized by the transaction processing process and a client process which sends a request to the transaction processing process and issues the external output to the user, and the controlling step delays the issuance of the external output by the client process when a transaction commit notice from the transaction processing process is received by the client process until the generation of the new check point is detected by the detecting step, such that the client process issues the external output after the new check point is generated.
-
-
4. A commit control method for transaction processing executed in a computer system having a fault recovery mechanism for generating check points by recurrently recording process states and for restarting processes by recovering the process states at a check point before a fault occurrence in a case of the fault occurrence, the method comprising the steps of:
-
detecting a generation of a new check point for a transaction processing process that executes the transaction processing, the generation being performed by the fault recovery mechanism after a transaction is committed by the transaction processing process; and
controlling an issuance of an external output for notifying to a user that the transaction has been committed, such that the external output is issued after the generation of the new check point is detected by the detecting step;
wherein the transaction processing is realized by the transaction processing process executed on a server computer and a client process executed on a client computer which sends a request to the transaction processing process and issues the external output to the user, the fault recovery mechanism generates a check point for the client process and a check point for the transaction processing process in synchronization such that process states of the transaction processing process and the client process regarding inter-process communications between the transaction processing process and the client process can be recovered without contradiction, and the controlling step delays the issuance of the external output by the client process when a transaction commit notice from the transaction processing process is received by the client process until the generation of the new check point is detected by the detecting step, such that the client process issues the external output at the issuing step after the new check point is generated.
-
-
5. A computer system for executing transaction processing, comprising:
-
a fault recovery mechanism for generating check points by recurrently recording process states and for restarting processes by recovering the process states at a check point before a fault occurrence in a case of the fault occurrence; and
a commit control unit for detecting a generation of a new check point for a transaction processing process that executes the transaction processing, the generation being performed by the fault recovery mechanism after a transaction is committed by the transaction processing process, and for controlling an issuance of an external output for notifying to a user that the transaction has been committed, such that the external output is issued after the generation of the new check point is detected;
wherein the transaction processing is realized by the transaction processing process and a client process which sends a request to the transaction processing process and issues the external output to the user, and the commit control unit delays an issuance of a transaction commit notice to be sent from the transaction processing process to the client process when the transaction is committed by the transaction processing process, and permits an issuance of the transaction commit notice from the transaction processing process to the client process after the generation of the new check point is detected, such that the client process issues the external output upon receiving the transaction commit notice.
-
-
6. A computer system for executing transaction processing, comprising:
-
a fault recovery mechanism for generating check points by recurrently recording process states and for restarting processes by recovering the process states at a check point before a fault occurrence in a case of the fault occurrence; and
a commit control unit for detecting a generation of a new check point for a transaction processing process that executes the transaction processing, the generation being performed by the fault recovery mechanism after a transaction is committed by the transaction processing process, and for controlling an issuance of an external output for notifying to a user that the transaction has been committed, such that the external output is issued after the generation of the new check point is detected;
wherein the transaction processing is realized by the transaction processing process and a client process which sends a request to the transaction processing process and issues the external output to the user, and the commit control unit intercepts a transaction commit notice sent from the transaction processing process toward the client process when the transaction is committed by the transaction processing process, and sends the intercepted transaction commit notice to the client process after the generation of the new check point is detected, such that the client process issues the external output upon receiving the transaction commit notice.
-
-
7. A computer system for executing transaction processing, comprising:
-
a fault recovery mechanism for generating check points by recurrently recording process states and for restarting processes by recovering the process states at a check point before a fault occurrence in a case of the fault occurrence; and
a commit control unit for detecting a generation of a new check point for a transaction processing process that executes the transaction processing, the generation being performed by the fault recovery mechanism after a transaction is committed by the transaction processing process, and for controlling an issuance of an external output for notifying to a user that the transaction has been committed, such that the external output is issued after the generation of the new check point is detected;
wherein the transaction processing is realized by the transaction processing process and a client process which sends a request to the transaction processing process and issues the external output to the user, and the commit control unit delays the issuance of the external output by the client process when a transaction commit notice from the transaction processing process is received by the client process until the generation of the new check point is detected, such that the client process issues the external output after the new check point is generated.
-
-
8. A computer system for executing transaction processing, comprising:
-
a fault recovery mechanism for generating check points by recurrently recording process states and for restarting processes by recovering the process states at a check point before a fault occurrence in a case of the fault occurrence; and
a commit control unit for detecting a generation of a new check point for a transaction processing process that executes the transaction processing, the generation being performed by the fault recovery mechanism after a transaction is committed by the transaction processing process, and for controlling an issuance of an external output for notifying to a user that the transaction has been committed, such that the external output is issued after the generation of the new check point is detected;
wherein the transaction processing is realized by the transaction processing process executed on a server computer and a client process executed on a client computer which sends a request to the transaction processing process and issues the external output to the user, the fault recovery mechanism generates a check point for the client process and a check point for the transaction processing process in synchronization such that process states of the transaction processing process and the client process regarding inter-process communications between the transaction processing process and the client process can be recovered without contradiction, and the commit control unit delays the issuance of the external output by the client process when a transaction commit notice from the transaction processing process is received by the client process until the generation of the new check point is detected, such that the client process issues the external output after the new check point is generated.
-
-
9. A computer usable medium having computer readable program code means embodied therein for causing a computer to function as a system for executing transaction processing, the computer readable program code means includes:
-
first computer readable program code means for causing said computer to realize a fault recovery mechanism for generating check points by recurrently recording process states and for restarting processes by recovering the process states at a check point before a fault occurrence in a case of the fault occurrence; and
second computer readable program code means for causing said computer to realize a commit control unit for detecting a generation of a new check point for a transaction processing process that executes the transaction processing, the generation being performed by the first computer readable program code means after a transaction is committed by the transaction processing process, and for controlling an issuance of an external output for notifying to a user that the transaction has been committed, such that the external output is issued after the generation of the new check point is detected;
wherein the transaction processing is realized by the transaction processing process and a client process which sends a request to the transaction processing process and issues the external output to the user, and the second computer readable program code means delays an issuance of a transaction commit notice to be sent from the transaction processing process to the client process when the transaction is committed by the transaction processing process, and permits an issuance of the transaction commit notice from the transaction processing process to the client process after the generation of the new check point is detected, such that the client process issues the external output upon receiving the transaction commit notice.
-
-
10. A computer usable medium having computer readable program code means embodied therein for causing a computer to function as a system for executing transaction processing, the computer readable program code means includes:
-
first computer readable program code means for causing said computer to realize a fault recovery mechanism for generating check points by recurrently recording process states and for restarting processes by recovering the process states at a checkpoint before a fault occurrence in a case of the fault occurrence; and
second computer readable program code means for causing said computer to realize a commit control unit for detecting a generation of a new check point for a transaction processing process that executes the transaction processing, the generation being performed by the first computer readable program code means after a transaction is committed by the transaction processing process, and for controlling an issuance of an external output for notifying to a user that the transaction has been committed, such that the external output is issued after the generation of the new check point is detected;
wherein the transaction processing is realized by the transaction processing process and a client process which sends a request to the transaction processing process and issues the external output to the user, and the second computer readable program code means intercepts a transaction commit notice sent from the transaction processing process toward the client process when the transaction is committed by the transaction processing process, and sends the transaction commit notice intercepted to the client process after the generation of the new check point is detected, such that the client process issues the external output upon receiving the transaction commit notice.
-
-
11. A computer usable medium having computer readable program code means embodied therein for causing a computer to function as a system for executing transaction processing, the computer readable program code means includes:
-
first computer readable program code means for causing said computer to realize a fault recovery mechanism for generating check points by recurrently recording process states and for restarting processes by recovering the process states at a check point before a fault occurrence in a case of the fault occurrence; and
second computer readable program code means for causing said computer to realize a commit control unit for detecting a generation of a new check point for a transaction processing process that executes the transaction processing, the generation being performed by the first computer readable program code means after a transaction is committed by the transaction processing process, and for controlling an issuance of an external output for notifying to a user that the transaction has been committed, such that the external output is issued after the generation of the new check point is detected;
wherein the transaction processing is realized by the transaction processing process and a client process which sends a request to the transaction processing process and issues the external output to the user, and the second computer readable program code means delays the issuance of the external output by the client process when a transaction commit notice from the transaction processing process is received by the client process until the generation of the new check point is detected, such that the client process issues the external output after the new check point is generated.
-
-
12. A computer usable medium having computer readable program code means embodied therein for causing a computer to function as a system for executing transaction processing, the computer readable program code means includes:
-
first computer readable program code means for causing said computer to realize a fault recovery mechanism for generating check points by recurrently recording process states and for restarting processes by recovering the process states at a check point before a fault occurrence in a case of the fault occurrence; and
second computer readable program code means for causing said computer to realize a commit control unit for detecting a generation of a new check point for a transaction processing process that executes the transaction processing, the generation being performed by the first computer readable program code means after a transaction is committed by the transaction processing process, and for controlling an issuance of an external output for notifying to a user that the transaction has been committed, such that the external output is issued after the generation of the new check point is detected;
wherein the transaction processing is realized by the transaction processing process executed on a server computer and a client process executed on a client computer which sends a request to the transaction processing process and issues the external output to the user, the first computer readable program code means generates a check point for the client process and a check point for the transaction processing process in synchronization such that process states of the transaction processing process and the client process regarding interprocess communications between the transaction processing process and the client process can be recovered without contradiction, and the second computer readable program code means delays the issuance of the external output by the client process when a transaction commit notice from the transaction processing process is received by the client process until the generation of the new check point is detected, such that the client process issues the external output after the new check point is generated.
-
Specification