Invention Application
- Patent Title: ROLLBACK OF SERVICES WITH A GLOBAL VARIABLE CHANGE
-
Application No.: US17490196Application Date: 2021-09-30
-
Publication No.: US20230095620A1Publication Date: 2023-03-30
- Inventor: Yue Wang , Jing Jing Wei , YINGCHUN GUO , Shao Jun Ding , Jian Nan Guo
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Main IPC: G06F11/14
- IPC: G06F11/14 ; G06F9/38 ; G06F9/46

Abstract:
Embodiments of the present disclosure relate to rollback of services with a global variable change. Embodiment techniques detect that at least two of a plurality of services in a transaction are executed to change a value of a first global variable. Tracing information is obtained to indicate a first order in which the at least two services change the value of the first global variable during execution of the plurality of services. In response to a failure of the transaction, a rollback execution plan for a plurality of compensating services is determined at least based on the tracing information, where the plurality of compensating services are configured to compensate for the plurality of services respectively. The plurality of compensating services subsequently executed according to the rollback execution plan.
Public/Granted literature
- US11775398B2 Rollback of services with a global variable change Public/Granted day:2023-10-03
Information query