Resolving Limbo Transactions Using the Services API
Go Up to Invoking Database Maintenance Using the Services API
You can list and correct transactions in a limbo state using the cluster identifier isc_action_svc_repair.
Limbo transactions are the result of interruptions in the two-phase commit process of InterBase. Most client interfaces, including BDE and ODBC, do not exercise the two-phase commit or distributed transaction capabilities of InterBase, therefore applications using such client interfaces never create limbo transactions.
The following table lists arguments to isc_action_svc_repair to resolve limbo transactions in a database:
| Argument | Purpose | Argument length | Argument value |
|---|---|---|---|
|
|
Path of the primary file of the database, from the point of view of the server. |
2 bytes + string |
String |
|
|
Request that the Services Manager commit the transactions that follow. |
— |
— |
|
|
Request that the Services Manager roll back the transactions that follow. |
— |
— |
|
|
Request that the Services Manager use automatic two-phase commit recovery on the specified transactions. |
— |
— |
|
|
Precedes a transaction ID number. |
4 bytes |
Unsigned long |