JPH06309213A - Rollback control system - Google Patents

Rollback control system

Info

Publication number
JPH06309213A
JPH06309213A JP5121885A JP12188593A JPH06309213A JP H06309213 A JPH06309213 A JP H06309213A JP 5121885 A JP5121885 A JP 5121885A JP 12188593 A JP12188593 A JP 12188593A JP H06309213 A JPH06309213 A JP H06309213A
Authority
JP
Japan
Prior art keywords
state
save
rollback
resource
deadlock
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5121885A
Other languages
Japanese (ja)
Inventor
Hideki Takeuchi
竹内  秀樹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP5121885A priority Critical patent/JPH06309213A/en
Publication of JPH06309213A publication Critical patent/JPH06309213A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To improve the efficiency of transaction processing by performing partial rollback processing and omitting unnecessary rollback processing and re-execution processing. CONSTITUTION:A program state saving means 13 saves a program state in a state saving area 30 when a saving point is passed, generates resource control information 40 corresponding to resource access at the time of resource access, and relates the state saving area 30 corresponding to a saving point right before the resource access is performed to the resource control information 40. A deadlock detecting means 12 detects whether or not a deadlock is caused owing to the resource access at the time of the resource access. When the deadlock is detected, the resource relating to the deadlock is rolled back to the state of the saving point regarding the resource access relating to the deadlock. A program state restoring means 14 restores the program state to the state of a saving point as the return point of the rollback.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、トランザクション処理
プログラムを構成するトランザクション処理の処理過程
でデッドロックの発生が検出された場合におけるロール
バックの制御を行うロールバック制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a rollback control system for controlling rollback when a deadlock is detected in the process of transaction processing which constitutes a transaction processing program.

【0002】[0002]

【従来の技術】従来、この種のロールバック制御方式で
は、あるトランザクション処理の処理過程でデッドロッ
クの発生が検出された場合に、そのトランザクション処
理によって行われた資源アクセス(資源の更新等)に関
する全ての資源がそのトランザクション処理の先頭の状
態にロールバックされ、そのロールバック後にそのトラ
ンザクション処理が再開されていた。すなわち、デッド
ロックに無関係な資源アクセスに関するロールバックも
デッドロックの発生の検出時におけるロールバックの対
象とされていた。
2. Description of the Related Art Conventionally, this type of rollback control system relates to resource access (resource update, etc.) performed by a transaction process when the occurrence of a deadlock is detected in the process of the transaction process. All resources were rolled back to the state at the beginning of the transaction processing, and the transaction processing was restarted after the rollback. That is, the rollback related to the resource access irrelevant to the deadlock is also the target of the rollback at the time of detecting the occurrence of the deadlock.

【0003】なお、本発明に関連する従来技術には、ト
ランザクションバックアウト簡易処理方式(特開平2−
264336号)のように、デッドロック等の障害発生
時の再開始アドレスをあらかじめ指定しておき、デッド
ロック等の障害発生時にその再開始アドレスからトラン
ザクション処理の再開を行う方式がある。この方式によ
ると、トランザクション処理の先頭の状態に全ての資源
をロールバックするという無駄は回避される。しかし、
この方式によっても、デッドロックの発生の検出時にお
いて、ロールバックの省略が可能な資源の判断やロール
バックにおける最適な戻りアドレスの検出を行うことは
できない。したがって、この方式をデッドロックの発生
の検出時のロールバックの制御に採用したとしても、
「デッドロックに無関係な資源アクセスがロールバック
の対象となる」ということに変わりはない。
In the prior art related to the present invention, there is a transaction backout simple processing system (Japanese Patent Laid-Open No. Hei.
No. 264336), there is a method in which a restart address when a failure such as a deadlock occurs is designated in advance and transaction processing is restarted from the restart address when a failure such as a deadlock occurs. According to this method, it is possible to avoid the waste of rolling back all the resources to the first state of transaction processing. But,
Even with this method, when a deadlock is detected, it is not possible to judge a resource for which rollback can be omitted or to detect an optimum return address in rollback. Therefore, even if this method is used to control rollback when detecting the occurrence of deadlock,
There is no change in that "resource access unrelated to deadlock is subject to rollback".

【0004】[0004]

【発明が解決しようとする課題】上述した従来のロール
バック制御方式では、トランザクション処理の処理過程
でデッドロックの発生が検出された場合のロールバック
の制御において、デッドロックに無関係な資源アクセス
もロールバックの対象とされているので、不要なロール
バック処理が行われ、トランザクション処理の再開後に
デッドロックに無関係な資源アクセスをも再度実行する
必要が生じ、トランザクション処理の効率の向上に支障
を招くという欠点があった。
In the above-described conventional rollback control method, resource access irrelevant to the deadlock is also rolled in the rollback control when the occurrence of deadlock is detected in the process of transaction processing. Since it is targeted for backing, unnecessary rollback processing is performed, and it is necessary to re-execute resource access regardless of deadlock after transaction processing is restarted, which hinders improvement in transaction processing efficiency. There was a flaw.

【0005】本発明の目的は、上述の点に鑑み、不要な
ロールバック処理と再実行処理とを省略するための部分
的なロールバックを行うことにより、トランザクション
処理(特に、デッドロックが発生しやすいトランザクシ
ョン処理)の効率を高めることができるロールバック制
御方式(部分的なロールバックを行うので、「部分ロー
ルバック制御方式」ということができる)を提供するこ
とにある。
In view of the above points, an object of the present invention is to perform a partial rollback in order to omit unnecessary rollback processing and re-execution processing, so that transaction processing (particularly deadlock occurs). It is to provide a rollback control method (which can be called a “partial rollback control method because partial rollback is performed”) that can improve the efficiency of easy transaction processing.

【0006】[0006]

【課題を解決するための手段】本発明のロールバック制
御方式は、状態退避域をトランザクション処理プログラ
ムの開始時に確保し状態退避域をトランザクション処理
プログラムの終了時に解放する状態退避域確保・解放手
段と、退避点の通過時にその時点のプログラム状態を状
態退避域に退避し資源アクセス時に当該資源アクセスに
対応する資源管理情報を作成し当該資源アクセスが実行
される直前の退避点に対応する状態退避域と当該資源管
理情報とを関係付けるプログラム状態退避手段と、資源
アクセス時に当該資源アクセスに起因してデッドロック
が発生したか否かを検出するデッドロック検出手段と、
このデッドロック検出手段によってデッドロックの発生
が検出された場合に当該デッドロックに関連する資源ア
クセスに対応する資源管理情報と関係付けられている状
態退避域に対応する退避点の状態に当該デッドロックに
関連する資源をロールバックするロールバック手段と、
このロールバック手段によるロールバックの戻り先の退
避点の状態にプログラム状態を回復するプログラム状態
回復手段と、退避点の通過の認識ならびにロールバック
およびプログラム状態回復の後のトランザクション処理
の再開等のトランザクション処理の実行の制御を行う実
行制御手段とを有する。
The rollback control method of the present invention comprises a state save area securing / releasing means for securing a state save area at the start of a transaction processing program and releasing the state save area at the end of the transaction processing program. , The state save area corresponding to the save point immediately before the resource access is executed by saving the program state at that point in the state save area when passing the save point and creating the resource management information corresponding to the resource access at the time of resource access And a program state saving means for associating the resource management information with the resource management information, and deadlock detection means for detecting whether or not a deadlock occurs due to the resource access at the time of accessing the resource,
When the deadlock detection means detects the occurrence of a deadlock, the deadlock is placed in the state of the save point corresponding to the state save area associated with the resource management information corresponding to the resource access related to the deadlock. Rollback means for rolling back resources related to
Program state recovery means for recovering the program state to the state of the save point at the destination of rollback by this rollback means, and transaction such as recognition of passage of the save point and restart of transaction processing after rollback and program state recovery And an execution control means for controlling the execution of the process.

【0007】また、本発明のロールバック制御方式で
は、デッドロックに関連する資源のロールバックの後に
自トランザクション処理がロックしている資源において
当該デッドロックに関連しない他トランザクション処理
の排他ウェイトが生じていないかどうかを検出する前記
デッドロック検出手段と、このデッドロック検出手段に
よりデッドロックに関連しない他トランザクション処理
の排他ウェイトが検出された場合に当該排他ウェイトに
関連する資源アクセスに対応する資源管理情報と関係付
けられている状態退避域に対応する退避点の状態に当該
排他ウェイトに関連する資源をロールバックする前記ロ
ールバック手段とを設けることも可能である。
Further, in the rollback control method of the present invention, after the resource related to the deadlock is rolled back, the exclusive lock of the other transaction process which is not related to the deadlock occurs in the resource locked by the own transaction process. The deadlock detecting means for detecting whether there is not, and the resource management information corresponding to the resource access related to the exclusive weight when the deadlock detecting means detects the exclusive weight of other transaction processing not related to the deadlock. It is also possible to provide the rollback means for rolling back the resource associated with the exclusive weight to the state of the save point corresponding to the state save area associated with.

【0008】さらに、本発明のロールバック制御方式で
は、トランザクション処理プログラムの開始時の状態退
避域の確保およびトランザクション処理プログラムの終
了時の状態退避域の解放を行わず、退避点の通過時に当
該退避点に対応する状態退避域を確保しトランザクショ
ン処理の正常終了時に当該トランザクション処理内の全
ての退避点に対応する状態退避域を解放しロールバック
時に当該ロールバックの戻り先の退避点の通過時よりも
後に確保された状態退避域を解放する前記状態退避域確
保・解放手段を設けることも可能である。
Further, in the rollback control method of the present invention, the state save area is not secured at the start of the transaction processing program and the state save area is not released at the end of the transaction processing program, and the save is performed when the save point is passed. The state save area corresponding to the point is secured, the state save area corresponding to all the save points in the transaction process is released at the normal end of the transaction process, and at the time of rollback, when the save point at the return destination of the rollback is passed. It is also possible to provide the state save area securing / releasing means for releasing the state save area secured later.

【0009】[0009]

【実施例】次に、本発明について図面を参照して詳細に
説明する。
The present invention will be described in detail with reference to the drawings.

【0010】第1に、本発明のロールバック制御方式の
第1の実施例(請求項1記載の発明に対応する実施例)
について説明する。
First, a first embodiment of the rollback control system of the present invention (an embodiment corresponding to the invention of claim 1).
Will be described.

【0011】図1は、本実施例のロールバック制御方式
(ロールバック制御方式10)の構成等を示すブロック
図である。
FIG. 1 is a block diagram showing the configuration of the rollback control system (rollback control system 10) of this embodiment.

【0012】図1中のトランザクション処理プログラム
は、1以上のトランザクション処理を含んで構成される
プログラムである。このトランザクション処理プログラ
ムは、ロールバック制御方式10と、状態退避域30
と、資源アクセス(アクセスの対象となる資源がアクセ
ス資源20である)を管理する資源管理情報40とを含
んで構成されている。
The transaction processing program in FIG. 1 is a program including one or more transaction processing. This transaction processing program includes a rollback control method 10 and a state save area 30.
And resource management information 40 that manages resource access (the resource to be accessed is the access resource 20).

【0013】なお、トランザクション処理プログラム内
の各トランザクション処理には、1以上の退避点(プロ
グラム状態退避点)が設けられている(トランザクショ
ン処理プログラムのソースプログラム中において退避点
を示す記述が存在する)。
Each transaction process in the transaction processing program is provided with one or more save points (program state save points) (a description indicating the save points exists in the source program of the transaction processing program). .

【0014】ロールバック制御方式10は、実行制御手
段11と、デッドロック検出手段12と、プログラム状
態退避手段13と、プログラム状態回復手段14と、状
態退避域確保・解放手段15と、ロールバック手段16
とを含んで構成されている。
The rollback control system 10 includes an execution control means 11, a deadlock detection means 12, a program state saving means 13, a program state recovery means 14, a state saving area securing / releasing means 15, and a rollback means. 16
It is configured to include and.

【0015】状態退避域30は、トランザクション処理
中に設けられる退避点の通過時のプログラム状態(レジ
スタおよび変数の内容等)が退避されるプログラム状態
退避域31と、自己(状態退避域30)に対応する退避
点と次の退避点との間に生じる資源アクセス時に作成さ
れる資源管理情報40を指す情報(例えば、資源管理情
報40をチェーン構造で構成する場合の、当該チェーン
の先頭の資源管理情報40へのポインタおよび最終の資
源管理情報40へのポインタ)を有する資源情報32と
を含んで構成されている。状態退避域30は1回の退避
点の通過に対して1つ必要になる。
The state save area 30 includes a program state save area 31 in which a program state (contents of registers and variables, etc.) at the time of passing a save point provided during transaction processing is saved, and a self state save area 30. Information indicating the resource management information 40 created at the time of resource access that occurs between the corresponding save points and the next save points (for example, when the resource management information 40 is configured in a chain structure, the resource management at the head of the chain) Resource information 32 having a pointer to the information 40 and a pointer to the final resource management information 40). One state save area 30 is required for each passing of the save points.

【0016】資源管理情報40は、トランザクション処
理プログラム内のトランザクション処理による資源アク
セス時に作成され、当該資源アクセス時におけるアクセ
ス資源20の内容(イメージ)を反映する情報(内容そ
のものを示す情報またはログ情報等)を格納している。
The resource management information 40 is created at the time of resource access by the transaction processing in the transaction processing program, and reflects the content (image) of the access resource 20 at the time of the resource access (information indicating the content itself or log information, etc.). ) Is stored.

【0017】図2(a)および(b)は、本実施例のロ
ールバック制御方式の具体的な動作を説明するための図
である。
FIGS. 2A and 2B are views for explaining the specific operation of the rollback control system of this embodiment.

【0018】次に、このように構成された本実施例のロ
ールバック制御方式(ロールバック制御方式10)の動
作について説明する。
Next, the operation of the rollback control system (rollback control system 10) of the present embodiment having such a configuration will be described.

【0019】状態退避域確保・解放手段15は、トラン
ザクション処理プログラムの起動時に、トランザクショ
ン処理プログラムに含まれる全てのトランザクション処
理の処理過程で生じると予想される退避点の通過数分以
上の数の状態退避域30を確保する。
The state save area securing / releasing means 15 has a number of states equal to or more than the number of passing save points that are expected to occur in the processing process of all transaction processes included in the transaction processing program when the transaction processing program is started. Reserve area 30 is secured.

【0020】実行制御手段11は、各トランザクション
処理の実行を制御し、トランザクション処理中の退避点
の通過時にその旨(退避点の通過の旨)をプログラム状
態退避手段13に通知する。
The execution control means 11 controls the execution of each transaction process and notifies the program state saving means 13 of that (passage of the save point) when the save point is passed during transaction processing.

【0021】プログラム状態退避手段13は、退避点の
通過時(実行制御手段11からの上述の通知の受取り
時)に、その時点のプログラム状態(レジスタおよび変
数の内容等)を状態退避域30の1つに退避する(これ
により、1回の退避点の通過に対応して1つの状態退避
域30が存在することになる)。
The program state saving means 13 stores the program state (contents of registers and variables, etc.) at that point in the state save area 30 when the save point is passed (when the above-mentioned notification is received from the execution control means 11). Saves to one (thus, one state save area 30 exists corresponding to one passage of the save point).

【0022】また、実行制御手段11は、トランザクシ
ョン処理の処理過程で生じる資源アクセス時に、デッド
ロック検出手段12およびプログラム状態退避手段13
にその旨を通知する。
Further, the execution control means 11 has a deadlock detecting means 12 and a program state saving means 13 at the time of resource access which occurs in the process of transaction processing.
To that effect.

【0023】プログラム状態退避手段13は、その通知
を受け取ると、次のような処理を行う。 当該資源アクセスに対応する資源管理情報40(そ
の時点のアクセス資源20の内容を反映した情報)を作
成する。 当該資源アクセスが実行される直前の退避点を示す
情報を当該資源管理情報40内に設定する。具体的に
は、資源管理情報40内に当該退避点に対応する状態退
避域30へのポインタを設定する。 当該資源管理情報40の存在を示すように当該状態
退避域30(当該資源アクセスが実行される直前の退避
点に対応する状態退避域30)内の資源情報32を更新
する。具体的には、資源情報32内の「最終の資源管理
情報40へのポインタ」を「当該資源管理情報40への
ポインタ」に更新する(資源管理情報40内のチェーン
情報の整備も行う)。
Upon receiving the notification, the program state saving means 13 performs the following processing. Resource management information 40 (information reflecting the contents of the access resource 20 at that time) corresponding to the resource access is created. Information indicating the save point immediately before the execution of the resource access is set in the resource management information 40. Specifically, a pointer to the state save area 30 corresponding to the save point is set in the resource management information 40. The resource information 32 in the state save area 30 (state save area 30 corresponding to the save point immediately before the execution of the resource access) is updated to indicate the existence of the resource management information 40. Specifically, the "pointer to the final resource management information 40" in the resource information 32 is updated to the "pointer to the resource management information 40" (chain information in the resource management information 40 is also maintained).

【0024】以上のおよびの処理によって、当該資
源アクセスが実行される直前の退避点に対応する状態退
避域30と当該資源管理情報40とを関係付けることが
できる。
By the above processes (1) and (2), the state save area 30 corresponding to the save point immediately before the execution of the resource access can be associated with the resource management information 40.

【0025】デッドロック検出手段12は、上述の通知
を受け取ると、当該資源アクセスに起因してデッドロッ
クが発生したか否かを検出する。
Upon receiving the above notification, the deadlock detection means 12 detects whether or not a deadlock has occurred due to the resource access.

【0026】デッドロック検出手段12は、デッドロッ
クの発生を検出すると、実行制御手段11を介してロー
ルバック手段16に制御を渡す。
When the deadlock detecting means 12 detects the occurrence of deadlock, it passes control to the rollback means 16 via the execution control means 11.

【0027】ロールバック手段16は、発生したデッド
ロックに関連する資源アクセスを検出し(この検出は従
来技術によって実現可能である)、その資源アクセスに
対応する資源管理情報40と関係付けられている状態退
避域30に対応する退避点の状態に当該デッドロックに
関連する資源(当該資源管理情報40に対応するアクセ
ス資源20)をロールバックする。このロールバック時
には、状態退避域30内の資源情報32中の情報および
資源管理情報40内のチェーン情報を利用して、いくつ
かの資源管理情報40を資源アクセス発生順と逆順に辿
っていく。
The rollback means 16 detects a resource access associated with a deadlock that has occurred (this detection can be accomplished by conventional techniques) and is associated with the resource management information 40 corresponding to that resource access. The resource related to the deadlock (the access resource 20 corresponding to the resource management information 40) is rolled back to the state of the save point corresponding to the state save area 30. At the time of this rollback, the information in the resource information 32 in the state save area 30 and the chain information in the resource management information 40 are used to follow some resource management information 40 in the reverse order of the resource access occurrence order.

【0028】さらに、プログラム状態回復手段14は、
ロールバックの戻り先の退避点の状態にプログラム状態
を回復するように、当該退避点に対応する状態退避域3
0内のプログラム状態退避域31中の情報(プログラム
状態)をレジスタおよび変数に回復する。
Further, the program state recovery means 14 is
The state save area 3 corresponding to the save point so that the program state is restored to the state of the save point at the rollback return destination
The information (program state) in the program state save area 31 in 0 is restored to registers and variables.

【0029】実行制御手段11は、その退避点からのト
ランザクション処理の再開を行う。
The execution control means 11 restarts the transaction processing from the save point.

【0030】なお、状態退避域確保・解放手段15は、
図1に示すトランザクション処理プログラムの終了時
に、全ての状態退避域30を解放する。
The state save area securing / releasing means 15 is
At the end of the transaction processing program shown in FIG. 1, all state save areas 30 are released.

【0031】次に、図2(a)および(b)を参照し
て、本実施例のロールバック制御方式(ロールバック制
御方式10)の具体的な動作について説明する。
Next, with reference to FIGS. 2A and 2B, a specific operation of the rollback control system (rollback control system 10) of this embodiment will be described.

【0032】あるトランザクション処理プログラム内の
第1のトランザクション処理(以下、TX1という)と
他のトランザクション処理プログラム内の第2のトラン
ザクション処理(以下、TX2という)とが同時に動作
しており、それらの処理の過程でTX1にデッドロック
が発生した場合の動作について考える。
A first transaction process (hereinafter referred to as TX1) in a certain transaction processing program and a second transaction process (hereinafter referred to as TX2) in another transaction processing program are operating at the same time, and those processes are performed. Consider the operation when a deadlock occurs in TX1 in the process of.

【0033】この場合のデッドロックの発生に至るまで
の動作の流れは、次のようになる(図2(a)参照)。
In this case, the flow of operation leading to the occurrence of deadlock is as follows (see FIG. 2 (a)).

【0034】(1) TX1は、ある退避点(退避点
(1)とする)の通過時に、状態退避域30へのプログ
ラム状態の退避を行う。
(1) The TX 1 saves the program state in the state save area 30 when passing a certain save point (referred to as save point (1)).

【0035】(2) 同様に、TX2は、ある退避点
(退避点(2)とする)の通過時に、状態退避域30へ
のプログラム状態の退避を行う。
(2) Similarly, the TX 2 saves the program state in the state save area 30 when passing through a certain save point (referred to as save point (2)).

【0036】(3) TX1は、資源Aに対するアクセ
ス(資源アクセス(3)とする)の際に、その資源アク
セス(3)に対応する資源管理情報40を作成し、その
資源管理情報40と退避点(1)に対応する状態退避域
30とを関係付ける。
(3) The TX1 creates the resource management information 40 corresponding to the resource access (3) at the time of access to the resource A (referred to as resource access (3)), and saves it with the resource management information 40. The state save area 30 corresponding to the point (1) is associated.

【0037】(4) 一方、TX2は、資源Cに対する
アクセス(資源アクセス(4)とする)の際に、その資
源アクセス(4)に対応する資源管理情報40を作成
し、その資源管理情報40と退避点(2)に対応する状
態退避域30とを関係付ける。
(4) On the other hand, the TX 2 creates the resource management information 40 corresponding to the resource access (4) when accessing the resource C (referred to as resource access (4)), and the resource management information 40 And the state save area 30 corresponding to the save point (2).

【0038】(5) TX1は、資源アクセス(3)の
後の最初の退避点(退避点(5)とする)の通過時に、
状態退避域30へのプログラム状態の退避を行う。
(5) TX1 passes through the first save point (referred to as save point (5)) after resource access (3),
The program state is saved in the state save area 30.

【0039】(6) 同様に、TX2は、資源アクセス
(4)の後の最初の退避点(退避点(6)とする)の通
過時に、状態退避域30へのプログラム状態の退避を行
う。
(6) Similarly, the TX2 saves the program state in the state save area 30 when the first save point after the resource access (4) (pass point (6)) is passed.

【0040】(7) TX1は、資源Bに対するアクセ
ス(資源アクセス(7)とする)の際に、その資源アク
セス(7)に対応する資源管理情報40を作成し、その
資源管理情報40と退避点(5)に対応する状態退避域
30とを関係付ける。
(7) The TX1 creates the resource management information 40 corresponding to the resource access (7) when accessing the resource B (referred to as the resource access (7)), and saves the resource management information 40 with the resource management information 40. The state save area 30 corresponding to the point (5) is associated.

【0041】(8) TX2は、TX1による資源Bに
対するアクセス(資源アクセス(7))の後に、資源B
に対するアクセスを行おうとするが、TX1による資源
Bに対するアクセスがすでに行われているので、排他ウ
ェイト状態となる。
(8) The TX2 accesses the resource B by the TX1 (resource access (7)) and then the resource B
However, since the access to the resource B by TX1 has already been performed, the exclusive wait state is set.

【0042】(9) TX1は、資源アクセス(7)の
後の最初の退避点(退避点(9)とする)の通過時に、
状態退避域30へのプログラム状態の退避を行う。
(9) When TX1 passes through the first save point (referred to as save point (9)) after resource access (7),
The program state is saved in the state save area 30.

【0043】(10) 以上の(1)〜(9)の処理が
進められた後に、TX1は、資源Cに対するアクセスを
行おうとする。この時、資源CはTX2によってアクセ
スされており((4)参照)、さらにTX2は資源Cに
対するアクセスの後に資源Bをアクセスしようとする処
理((8)参照)で排他ウェイト状態となっている。し
たがって、この時点で、TX1内のデッドロック検出手
段12はデッドロックの発生を検出する。なお、この場
合の「当該デッドロックに関連する資源アクセス」は資
源アクセス(7)である。
(10) After the above processes (1) to (9) are advanced, the TX1 attempts to access the resource C. At this time, the resource C is being accessed by the TX2 (see (4)), and the TX2 is in the exclusive wait state in the process of trying to access the resource B after accessing the resource C (see (8)). . Therefore, at this point, the deadlock detecting means 12 in the TX 1 detects the occurrence of deadlock. In this case, the “resource access related to the deadlock” is the resource access (7).

【0044】デッドロックの発生の検出後におけるTX
1の動作は、次のようになる(図2(b)参照)。
TX after detection of occurrence of deadlock
The operation of No. 1 is as follows (see FIG. 2B).

【0045】(イ) 退避点(5)の状態への資源Bの
ロールバックを実施する。これにより、TX2の排他ウ
ェイト状態が解除される。
(A) Roll back the resource B to the state of the save point (5). As a result, the exclusive wait state of TX2 is released.

【0046】(ロ) 退避点(5)に対応する状態退避
域30内のプログラム状態退避域31中のプログラム状
態をレジスタおよび変数に回復する。
(B) The program state in the program state save area 31 in the state save area 30 corresponding to the save point (5) is restored to registers and variables.

【0047】以上のようなロールバックおよびプログラ
ム状態回復の後に、TX1は、資源Bのアクセスから処
理を再開する。
After the rollback and the program state recovery as described above, the TX1 restarts the processing from the access of the resource B.

【0048】また、TX1による資源Bのロールバック
が行われたことにより、TX2は資源Bに対するアクセ
スを行うことができ、TX2は以後の処理を継続するこ
とが可能になる。
Further, since the resource B is rolled back by the TX1, the TX2 can access the resource B, and the TX2 can continue the subsequent processing.

【0049】第2に、本発明のロールバック制御方式の
第2の実施例(請求項2記載の発明に対応する実施例)
について説明する。
Second, a second embodiment of the rollback control system of the present invention (an embodiment corresponding to the invention of claim 2).
Will be described.

【0050】図1は、第2の実施例のロールバック制御
方式の構成等を示すブロック図でもある(第1の実施例
と第2の実施例との間で処理内容が異なる構成要素も存
在するが、同一の名称を持つ構成要素については同一の
符号で示すものとする)。
FIG. 1 is also a block diagram showing the configuration and the like of the rollback control system of the second embodiment (there are some constituent elements having different processing contents between the first embodiment and the second embodiment). However, components having the same name shall be denoted by the same reference numeral).

【0051】図3(a)および(b)は、本実施例のロ
ールバック制御方式の具体的な動作を説明するための図
である。
FIGS. 3A and 3B are views for explaining the specific operation of the rollback control system of this embodiment.

【0052】次に、このように構成された本実施例のロ
ールバック制御方式(ロールバック制御方式10)の動
作について説明する。
Next, the operation of the rollback control system (rollback control system 10) of the present embodiment having such a configuration will be described.

【0053】基本的な動作は、上述の第1の実施例の動
作と同様である。以下の点が、第2の実施例に特有の動
作である。
The basic operation is the same as the operation of the first embodiment described above. The following points are the operations peculiar to the second embodiment.

【0054】デッドロック検出手段12は、デッドロッ
クに関連する資源のロールバック(ロールバック手段1
6によるロールバック)の後に自トランザクション処理
(そのデッドロック検出手段12が存在するトランザク
ション処理)がロック(排他的なアクセス)している資
源において、当該デッドロックに関連しない他トランザ
クション処理の排他ウェイトが生じていないかどうかを
検出する。
The deadlock detecting means 12 rolls back resources related to deadlock (rollback means 1).
In the resource locked (exclusively accessed) by the own transaction process (transaction process in which the deadlock detection means 12 exists) after the rollback by 6, the exclusive wait of the other transaction process that is not related to the deadlock is Detect if it has not occurred.

【0055】ロールバック手段16は、デッドロック検
出手段12によりデッドロックに関連しない他トランザ
クション処理の排他ウェイトが検出された場合に、当該
排他ウェイトに関連する資源アクセスに対応する資源管
理情報40と関係付けられている状態退避域30に対応
する退避点の状態に当該排他ウェイトに関連する資源
(当該資源管理情報40に対応するアクセス資源20)
をロールバックする。
When the deadlock detection means 12 detects the exclusive weight of another transaction process not related to the deadlock, the rollback means 16 is related to the resource management information 40 corresponding to the resource access related to the exclusive weight. A resource associated with the exclusive weight in the state of the save point corresponding to the attached state save area 30 (the access resource 20 corresponding to the resource management information 40)
To roll back.

【0056】以上のような特有の動作により、第2の実
施例では、デッドロックに関連しない他トランザクショ
ン処理への影響を考慮したロールバック制御が可能にな
る。
With the peculiar operation as described above, in the second embodiment, the rollback control can be performed in consideration of the influence on the other transaction processing not related to the deadlock.

【0057】次に、図3(a)および(b)を参照し
て、本実施例のロールバック制御方式(ロールバック制
御方式10)の具体的な動作について説明する。
Next, the specific operation of the rollback control system (rollback control system 10) of this embodiment will be described with reference to FIGS.

【0058】あるトランザクション処理プログラム内の
第1のトランザクション処理(以下、TX1という)と
他のトランザクション処理プログラム内の第2のトラン
ザクション処理(以下、TX2という)とさらに他のト
ランザクション処理プログラム内の第3のトランザクシ
ョン処理(以下、TX3という)とが同時に動作してお
り、それらの処理の過程でTX1にデッドロック(TX
1とTX2との間でのデッドロック)が発生した場合の
動作について考える。
A first transaction processing (hereinafter referred to as TX1) in a certain transaction processing program, a second transaction processing (hereinafter referred to as TX2) in another transaction processing program, and a third transaction processing in yet another transaction processing program. Transaction processing (hereinafter referred to as TX3) of the same is operating at the same time, and deadlock (TX
Consider the operation when a deadlock between 1 and TX2 occurs.

【0059】この場合のデッドロックの発生に至るまで
の動作の流れは、次のようになる(図3(a)参照)。
The flow of operation up to the occurrence of deadlock in this case is as follows (see FIG. 3 (a)).

【0060】(1)〜(8)は、上述の図2(a)の場
合と同様である。
(1) to (8) are the same as in the case of FIG.

【0061】(9) TX3は、ある退避点(退避点
(9)とする)の通過時に、状態退避域30へのプログ
ラム状態の退避を行う。
(9) The TX 3 saves the program state in the state save area 30 when passing through a certain save point (referred to as save point (9)).

【0062】(10) TX3は、TX1による資源A
に対するアクセス(資源アクセス(3))の後に、資源
Aに対するアクセスを行おうとするが、TX1による資
源Aに対するアクセスがすでに行われているので、排他
ウェイト状態となる。
(10) TX3 is the resource A by TX1
After the access to the resource A (resource access (3)), an attempt is made to access the resource A, but since the access to the resource A by TX1 has already been performed, the exclusive wait state is set.

【0063】(11) TX1は、資源アクセス(7)
の後の最初の退避点(退避点(11)とする)の通過時
に、状態退避域30へのプログラム状態の退避を行う。
(11) TX1 is resource access (7)
At the time of passing the first save point (referred to as save point (11)) after, the save of the program state to the state save area 30 is performed.

【0064】(12) 以上の(1)〜(11)の処理
が進められた後に、TX1は、資源Cに対するアクセス
を行おうとする。この時、資源CはTX2によってアク
セスされており((4)参照)、さらにTX2は資源C
に対するアクセスの後に資源Bをアクセスしようとする
処理((8)参照)で排他ウェイト状態となっている。
したがって、この時点で、TX1内のデッドロック検出
手段12はデッドロックの発生を検出する(「当該デッ
ドロックに関連する資源アクセス」は資源アクセス
(7)である)。
(12) After the above processes (1) to (11) are advanced, TX1 tries to access the resource C. At this time, the resource C is being accessed by the TX2 (see (4)), and the TX2 is the resource C.
In the process of trying to access the resource B after the access to (see (8)), the exclusive wait state is set.
Therefore, at this point, the deadlock detection means 12 in the TX1 detects the occurrence of a deadlock ("resource access related to the deadlock" is resource access (7)).

【0065】デッドロックの発生の検出後におけるTX
1の動作は、次のようになる(図3(b)参照)。
TX after detection of occurrence of deadlock
The operation of No. 1 is as follows (see FIG. 3B).

【0066】(イ) 退避点(5)の状態への資源Bの
ロールバックを実施する。これにより、TX2の排他ウ
ェイト状態が解除される。
(B) Roll back the resource B to the state of the save point (5). As a result, the exclusive wait state of TX2 is released.

【0067】(ロ) 退避点(1)の状態への資源Aの
ロールバックを実施する。これにより、TX3の排他ウ
ェイト状態が解除される。なお、退避点(1)は、デッ
ドロックに関連しない他トランザクション処理(TX
3)における排他ウェイトに関連する資源アクセス(資
源アクセス(3))と関係付けられている状態退避域3
0に対応する退避点に該当する。
(B) Roll back the resource A to the state of the save point (1). As a result, the exclusive wait state of TX3 is released. The save point (1) is used for other transaction processing (TX
State save area 3 associated with resource access (resource access (3)) related to the exclusive weight in 3)
This corresponds to the save point corresponding to 0.

【0068】(ハ) 退避点(1)に対応する状態退避
域30内のプログラム状態退避域31中のプログラム状
態をレジスタおよび変数に回復する。
(C) The program state in the program state save area 31 in the state save area 30 corresponding to the save point (1) is restored to registers and variables.

【0069】以上のようなロールバックおよびプログラ
ム状態回復の後に、TX1は、資源Aのアクセスから処
理を再開する。
After the rollback and the program state recovery as described above, the TX1 restarts the processing from the access of the resource A.

【0070】また、TX1による資源Bのロールバック
が行われたことにより、TX2は資源Bに対するアクセ
スを行うことができ、TX2は以後の処理を継続するこ
とが可能になる。
Since the resource B is rolled back by the TX1, the TX2 can access the resource B, and the TX2 can continue the subsequent processing.

【0071】さらに、TX1による資源Aのロールバッ
クが行われたことにより、TX3は資源Aに対するアク
セスを行うことができ、TX3は資源アクセス(10)
以後の処理を直ちに行うことが可能になる。
Further, since the resource A is rolled back by the TX1, the TX3 can access the resource A, and the TX3 can access the resource (10).
The subsequent processing can be immediately performed.

【0072】第3に、本発明のロールバック制御方式の
第3の実施例(請求項3記載の発明に対応する実施例)
について説明する。
Thirdly, a third embodiment of the rollback control system of the present invention (an embodiment corresponding to the invention of claim 3).
Will be described.

【0073】図1は、第3の実施例のロールバック制御
方式の構成等を示すブロック図でもある(第1の実施例
と第3の実施例との間で処理内容が異なる構成要素も存
在するが、同一の名称を持つ構成要素については同一の
符号で示すものとする)。
FIG. 1 is also a block diagram showing the configuration and the like of the rollback control system of the third embodiment (there are some constituent elements having different processing contents between the first and third embodiments). However, components having the same name shall be denoted by the same reference numeral).

【0074】図4(a)および(b)は、本実施例のロ
ールバック制御方式の具体的な動作を説明するための図
である。
FIGS. 4A and 4B are views for explaining the specific operation of the rollback control system of this embodiment.

【0075】次に、このように構成された本実施例のロ
ールバック制御方式(ロールバック制御方式10)の動
作について説明する。
Next, the operation of the rollback control system (rollback control system 10) of the present embodiment having such a configuration will be described.

【0076】基本的な動作は、上述の第1の実施例の動
作と同様である。以下の点が、第1の実施例と相違する
第3の実施例に特有の動作である。
The basic operation is the same as that of the first embodiment described above. The following points are the operation peculiar to the third embodiment which is different from the first embodiment.

【0077】第1の実施例では、状態退避域確保・解放
手段15は、トランザクション処理プログラムの開始時
にトランザクション処理プログラム内の全てのトランザ
クション処理の実行に対処できるだけの状態退避域30
を確保し、トランザクション処理プログラムの終了時に
それらの状態退避域30を解放している。
In the first embodiment, the state save area reserving / releasing means 15 is sufficient to deal with the execution of all transaction processes in the transaction processing program at the start of the transaction processing program.
And the state save area 30 is released at the end of the transaction processing program.

【0078】これに対して、本実施例(第3の実施例)
では、状態退避域確保・解放手段15は、退避点の通過
時にその退避点に対応する状態退避域30を確保する。
On the other hand, this embodiment (third embodiment)
Then, the state save area securing / releasing means 15 secures the state save area 30 corresponding to the save point when the save point is passed.

【0079】また、本実施例では、状態退避域確保・解
放手段15は、状態退避域30の解放に関して次のよう
な処理を行う。
Further, in this embodiment, the state save area securing / releasing means 15 carries out the following processing for releasing the state save area 30.

【0080】 あるトランザクション処理が正常に終
了しコミットが行われた場合には、そのトランザクショ
ン処理内の全ての退避点(正確には、全ての「退避点の
通過」)に対応する状態退避域30を解放する。
When a transaction process is normally completed and a commit is performed, the state save area 30 corresponding to all save points (correctly, all “pass points”) in the transaction process. To release.

【0081】 ロールバック(部分ロールバック)が
行われた場合には、当該ロールバックの戻り先の退避点
の通過時よりも後に確保された状態退避域30を解放す
る。
When rollback (partial rollback) is performed, the state save area 30 secured after the passing of the save point at the return destination of the rollback is released.

【0082】以上のような特有の動作により、第3の実
施例では、状態退避域30の確保のために必要となるメ
モリ常駐量の削減が可能になる。
By the peculiar operation as described above, in the third embodiment, it becomes possible to reduce the memory resident amount necessary for securing the state save area 30.

【0083】次に、図4(a)および(b)を参照し
て、本実施例のロールバック制御方式(ロールバック制
御方式10)の具体的な動作について説明する。
Next, with reference to FIGS. 4A and 4B, a concrete operation of the rollback control system (rollback control system 10) of this embodiment will be described.

【0084】あるトランザクション処理プログラム内の
第1のトランザクション処理(以下、TX1という)と
他のトランザクション処理プログラム内の第2のトラン
ザクション処理(以下、TX2という)とが同時に動作
しており、それらの処理の過程でTX1にデッドロック
が発生した場合の動作について考える。
A first transaction process (hereinafter referred to as TX1) in a certain transaction processing program and a second transaction process (hereinafter referred to as TX2) in another transaction processing program are operating at the same time, and those processes are performed. Consider the operation when a deadlock occurs in TX1 in the process of.

【0085】デッドロックの発生に至るまでの動作の流
れは、図2(a)の場合と同様である。ただし、各退避
点の通過時に、その退避点に対応する状態退避域30が
確保される(図4(a)参照)。
The flow of operation up to the occurrence of deadlock is the same as in the case of FIG. 2 (a). However, when each evacuation point is passed, the state evacuation area 30 corresponding to the evacuation point is secured (see FIG. 4A).

【0086】デッドロックの発生の検出後におけるTX
1の動作は、次のようになる(図4(b)参照)。
TX after detection of occurrence of deadlock
The operation of No. 1 is as follows (see FIG. 4B).

【0087】(イ) 退避点(5)の状態への資源Bの
ロールバックを実施する。これにより、TX2の排他ウ
ェイト状態が解除される。
(A) Roll back the resource B to the state of the save point (5). As a result, the exclusive wait state of TX2 is released.

【0088】(ロ) 退避点(9)に対応する状態退避
域30(退避点(5)の通過時よりも後に確保された状
態退避域30)を解放する。
(B) The state save area 30 corresponding to the save point (9) (the state save area 30 secured after passing the save point (5)) is released.

【0089】(ハ) 退避点(5)に対応する状態退避
域30内のプログラム状態退避域31中のプログラム状
態をレジスタおよび変数に回復する。
(C) The program state in the program state save area 31 in the state save area 30 corresponding to the save point (5) is restored to registers and variables.

【0090】以上のような状態退避域30の確保および
解放により、状態退避域30の確保のために必要となる
メモリ常駐量の削減が可能になる。
By securing and releasing the state save area 30 as described above, it becomes possible to reduce the memory resident amount required for securing the state save area 30.

【0091】なお、第2の実施例のロールバック制御方
式において、状態退避域30の確保および解放を第3の
実施例の手法で行うロールバック制御方式を実現するこ
とも可能である。このようなロールバック制御方式が、
請求項4記載の発明に該当する。
In the rollback control method of the second embodiment, it is possible to realize the rollback control method of securing and releasing the state save area 30 by the method of the third embodiment. Such a rollback control method
It corresponds to the invention of claim 4.

【0092】[0092]

【発明の効果】以上説明したように本発明は、デッドロ
ックに無関係な資源アクセスをロールバックの対象外と
することにより、不要なロールバック処理と再実行処理
とを省略することができ、トランザクション処理の効率
を高めることができるという効果を有する。
As described above, according to the present invention, unnecessary rollback processing and re-execution processing can be omitted by excluding resource access irrelevant to deadlock from rollback. It has an effect that the efficiency of processing can be improved.

【0093】また、デッドロックに関連しない他トラン
ザクション処理における排他ウェイトも考慮して上述の
ロールバック制御を行うことにより、上述の効果を得つ
つ、当該他トランザクション処理への当該デッドロック
による影響を少なくすることができるという効果があ
る。
Further, by performing the above-mentioned rollback control in consideration of the exclusive wait in the other transaction processing which is not related to the deadlock, the effect of the deadlock on the other transaction processing can be reduced while obtaining the above effect. There is an effect that can be done.

【0094】さらに、上述の効果(「トランザクション
処理の効率の向上」という効果)を得るために必要とな
る状態退避域の確保および解放を高頻度で行うことによ
り、状態退避域の確保のために必要となるメモリ常駐量
が少なくても上述の効果を得ることができるという効果
がある。
Furthermore, by ensuring and releasing the state save area necessary for obtaining the above-mentioned effect (the effect of "enhancing the efficiency of transaction processing") at a high frequency, in order to secure the state save area. There is an effect that the above-mentioned effect can be obtained even if the required memory resident amount is small.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明のロールバック制御方式の第1〜第3の
実施例の構成等を示すブロック図である。
FIG. 1 is a block diagram showing a configuration and the like of first to third embodiments of a rollback control system of the present invention.

【図2】本発明のロールバック制御方式の第1の実施例
の具体的な動作を説明するための図である。
FIG. 2 is a diagram for explaining a specific operation of the first embodiment of the rollback control system of the present invention.

【図3】本発明のロールバック制御方式の第2の実施例
の具体的な動作を説明するための図である。
FIG. 3 is a diagram for explaining a specific operation of the second embodiment of the rollback control system of the present invention.

【図4】本発明のロールバック制御方式の第3の実施例
の具体的な動作を説明するための図である。
FIG. 4 is a diagram for explaining a specific operation of the third embodiment of the rollback control system of the present invention.

【符号の説明】[Explanation of symbols]

10 ロールバック制御方式 11 実行制御手段 12 デッドロック検出手段 13 プログラム状態退避手段 14 プログラム状態回復手段 15 状態退避域確保・解放手段 16 ロールバック手段 20 アクセス資源 30 状態退避域 31 プログラム状態退避域 32 資源情報 40 資源管理情報 10 Rollback Control Method 11 Execution Control Means 12 Deadlock Detection Means 13 Program State Saving Means 14 Program State Restoring Means 15 State Saving Area Securing / Release Means 16 Rollback Means 20 Access Resources 30 State Saving Areas 31 Program State Saving Areas 32 Resources Information 40 Resource management information

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 状態退避域をトランザクション処理プロ
グラムの開始時に確保し、状態退避域をトランザクショ
ン処理プログラムの終了時に解放する状態退避域確保・
解放手段と、 退避点の通過時にその時点のプログラム状態を状態退避
域に退避し、資源アクセス時に当該資源アクセスに対応
する資源管理情報を作成し、当該資源アクセスが実行さ
れる直前の退避点に対応する状態退避域と当該資源管理
情報とを関係付けるプログラム状態退避手段と、 資源アクセス時に当該資源アクセスに起因してデッドロ
ックが発生したか否かを検出するデッドロック検出手段
と、 このデッドロック検出手段によってデッドロックの発生
が検出された場合に当該デッドロックに関連する資源ア
クセスに対応する資源管理情報と関係付けられている状
態退避域に対応する退避点の状態に当該デッドロックに
関連する資源をロールバックするロールバック手段と、 このロールバック手段によるロールバックの戻り先の退
避点の状態にプログラム状態を回復するプログラム状態
回復手段と、 退避点の通過の認識ならびにロールバックおよびプログ
ラム状態回復の後のトランザクション処理の再開等のト
ランザクション処理の実行の制御を行う実行制御手段と
を有することを特徴とするロールバック制御方式。
1. A state save area securement that secures a state save area at the start of a transaction processing program and releases the state save area at the end of a transaction processing program.
The release means and the program state at that point in time when the save point is passed are saved in the state save area, the resource management information corresponding to the resource access is created at the time of resource access, and the save point is set just before the resource access is executed. Program state saving means for associating the corresponding state save area with the resource management information, deadlock detecting means for detecting whether a deadlock occurs due to the resource access at the time of resource access, and this deadlock When the detection means detects the occurrence of a deadlock, the state of the save point corresponding to the state save area associated with the resource management information corresponding to the resource access related to the deadlock is related to the deadlock. Rollback means for rolling back resources and the save point for the rollback return destination by this rollback means The program state recovery means for recovering the program state to the above state, and the execution control means for recognizing the passage of the save point and controlling the execution of the transaction processing such as the rollback and the restart of the transaction processing after the program state recovery. A rollback control method characterized in that
【請求項2】 デッドロックに関連する資源のロールバ
ックの後に、自トランザクション処理がロックしている
資源において当該デッドロックに関連しない他トランザ
クション処理の排他ウェイトが生じていないかどうかを
検出する前記デッドロック検出手段と、 このデッドロック検出手段によりデッドロックに関連し
ない他トランザクション処理の排他ウェイトが検出され
た場合に当該排他ウェイトに関連する資源アクセスに対
応する資源管理情報と関係付けられている状態退避域に
対応する退避点の状態に当該排他ウェイトに関連する資
源をロールバックする前記ロールバック手段とを有する
ことを特徴とする請求項1記載のロールバック制御方
式。
2. The dead that detects, after the rollback of the resource related to the deadlock, whether or not the exclusive lock of the other transaction process that is not related to the deadlock has occurred in the resource locked by the own transaction process. Lock detection means and state saving associated with resource management information corresponding to resource access related to the exclusive weight when the exclusive lock of other transaction processing not related to the deadlock is detected by the deadlock detection means The rollback control system according to claim 1, further comprising: rollback means for rolling back a resource associated with the exclusive weight in a state of a save point corresponding to the area.
【請求項3】 トランザクション処理プログラムの開始
時の状態退避域の確保およびトランザクション処理プロ
グラムの終了時の状態退避域の解放を行わず、退避点の
通過時に当該退避点に対応する状態退避域を確保し、ト
ランザクション処理の正常終了時に当該トランザクショ
ン処理内の全ての退避点に対応する状態退避域を解放
し、ロールバック時に当該ロールバックの戻り先の退避
点の通過時よりも後に確保された状態退避域を解放する
前記状態退避域確保・解放手段を有することを特徴とす
る請求項1記載のロールバック制御方式。
3. A state save area at the start of a transaction processing program and a state save area at the end of a transaction processing program are not released, and a state save area corresponding to the save point is secured when the save point is passed. Then, at the normal end of the transaction process, the state save area corresponding to all the save points in the transaction process is released, and at the time of rollback, the state save that is secured after the save point at the return destination of the rollback is passed. 2. The rollback control system according to claim 1, further comprising a state save area securing / releasing means for releasing a zone.
【請求項4】 トランザクション処理プログラムの開始
時の状態退避域の確保およびトランザクション処理プロ
グラムの終了時の状態退避域の解放を行わず、退避点の
通過時に当該退避点に対応する状態退避域を確保し、ト
ランザクション処理の正常終了時に当該トランザクショ
ン処理内の全ての退避点に対応する状態退避域を解放
し、ロールバック時に当該ロールバックの戻り先の退避
点の通過時よりも後に確保された状態退避域を解放する
前記状態退避域確保・解放手段を有することを特徴とす
る請求項2記載のロールバック制御方式。
4. A state save area at the start of a transaction processing program and a state save area at the end of a transaction processing program are not released, but a state save area corresponding to the save point is secured when the save point is passed. Then, at the normal end of the transaction process, the state save area corresponding to all the save points in the transaction process is released, and at the time of rollback, the state save that is secured after the save point at the return destination of the rollback is passed. 3. The rollback control system according to claim 2, further comprising means for securing / releasing the state save area for releasing the area.
JP5121885A 1993-04-26 1993-04-26 Rollback control system Pending JPH06309213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5121885A JPH06309213A (en) 1993-04-26 1993-04-26 Rollback control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5121885A JPH06309213A (en) 1993-04-26 1993-04-26 Rollback control system

Publications (1)

Publication Number Publication Date
JPH06309213A true JPH06309213A (en) 1994-11-04

Family

ID=14822327

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5121885A Pending JPH06309213A (en) 1993-04-26 1993-04-26 Rollback control system

Country Status (1)

Country Link
JP (1) JPH06309213A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014191604A (en) * 2013-03-27 2014-10-06 Fujitsu Ltd Workflow control program, device, and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63265336A (en) * 1987-04-22 1988-11-01 Nec Corp Control system for preference allocation of shared resources
JPH04287151A (en) * 1991-03-18 1992-10-12 Fujitsu Ltd Process control method for computer system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63265336A (en) * 1987-04-22 1988-11-01 Nec Corp Control system for preference allocation of shared resources
JPH04287151A (en) * 1991-03-18 1992-10-12 Fujitsu Ltd Process control method for computer system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014191604A (en) * 2013-03-27 2014-10-06 Fujitsu Ltd Workflow control program, device, and method
US9940598B2 (en) 2013-03-27 2018-04-10 Fujitsu Limited Apparatus and method for controlling execution workflows

Similar Documents

Publication Publication Date Title
JP3072048B2 (en) Computer system and software failure recovery method for computer system
JP2858140B2 (en) Pipeline processor device and method
JP3020833B2 (en) Checkpoint acquisition system
US7178062B1 (en) Methods and apparatus for executing code while avoiding interference
CN101937365B (en) Deadlock detection method of parallel programs and system
CN100432949C (en) Method and device for storing user data on computer when software crashing
JPH0820965B2 (en) How to continue running the program
US6434710B1 (en) Commit controlling scheme for transaction processing in system utilizing check point/roll back scheme
US6502122B1 (en) Method and apparatus for executing transaction programs in parallel
US20050198552A1 (en) Failover method in a clustered computer system
US7783742B2 (en) Dynamic process recovery in a distributed environment
US6185702B1 (en) Method and system for process state management using checkpoints
JPH09330237A (en) Device and method for switching process
CN115904793B (en) Memory transfer method, system and chip based on multi-core heterogeneous system
JPH06309213A (en) Rollback control system
JPH02294739A (en) Fault detecting system
JPH117431A (en) Failure recovery system for job executed by plural computers
JP3516428B2 (en) calculator
JP2785992B2 (en) Server program management processing method
JP2879480B2 (en) Switching system when redundant computer system loses synchronization
JPH09223035A (en) Computer system
JPH05204678A (en) On-line transaction data processing system
JPH09269905A (en) Computer system
JP2001060159A (en) Method for improving reliability of computer system
JPH07244536A (en) Resume supporting mechanism