Avoiding transaction rollback
AssigneeInternational Business Machines Corporation
InventorsJiu Z. Han, Qi N. Li, Yi X. Song, Shuang Yu
Life of this patent
Estimating the term…
Abstract
A method and apparatus for avoiding a transaction rollback is provided. The method includes, at a predetermined checkpoint in a currently executing business process, determining the current service, and determining at least one service in subsequent processes of the checkpoint. The status of at least one unavailable service in the at least one service included in the subsequent processes of the checkpoint is queried. Whether the transaction can be fulfilled is determined, based on the at least one unavailable service. The execution of the transaction is stopped in response to a judgment that the transaction cannot be fulfilled.
Claims20
A method for avoiding a transaction rollback, comprising:
- at a predetermined checkpoint in a currently executing business process, determining at least one service included in subsequent processes of the checkpoint;
- querying at least one unavailable service in the at least one service included in the subsequent processes of the checkpoint;
- judging whether the transaction can be fulfilled based on the at least one unavailable service;
- and
- stopping an execution of the transaction in response to a judgment that the transaction cannot be fulfilled.
An apparatus for avoiding a transaction rollback, comprising:
- a service determining unit configured to, at a predetermined checkpoint in a currently executing business process, determine at least one service included in subsequent processes of the checkpoint;
- a service status querying unit configured to query at least one unavailable service in the at least one service included in the subsequent processes determined by the service determining unit;
- a transaction executability judging unit configured to judge whether the transaction can be fulfilled based on the at least one unavailable service queried by the service status querying unit;
- and
- a transaction execution control unit configured to stop an execution of the transaction in response to a judgment of the transaction executability judging unit that the transaction cannot be fulfilled.
A computer program product for avoiding transaction rollback comprising a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising:
- at a predetermined checkpoint in a currently executing business process, determining at least one service included in subsequent processes of the checkpoint;
- querying at least one unavailable service in the at least one service included in the subsequent processes of the checkpoint;
- judging whether the transaction can be fulfilled based on the at least one unavailable service;
- and
- stopping an execution of the transaction in response to a judgment that the transaction cannot be fulfilled.
Dependencies are inferred from the claim text.