Browse Prior Art Database

Method to resolve heuristic damage automatically during transaction manager failure in a heterogenous TPM environment

IP.com Disclosure Number: IPCOM000249577D
Publication Date: 2017-Mar-03
Document File: 7 page(s) / 200K

Publishing Venue

The IP.com Prior Art Database

Abstract

The solution proposes a method for quick transaction resolution for in-doubt and heuristic damaged transactions in resource managers and Transaction Processing Monitors. Traditionally ,it is done by manually performing actions on resource managers to make the data consistency across all the participants involved in a transaction instance or wait for the transaction manager to come up and attempt to resolve.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 20% of the total text.

1

Method to resolve heuristic damage automatically during transaction manager failure in a heterogenous TPM environment

Distributed Transaction processing Monitor products (TPMs) are implemented using different software architectures to suit the services they provide as well as the platforms where they run. In a process based TPMs, every transaction uses the operating system process to run the logical unit of work (LUW). Products like IBM TXSeries for Multiplatforms is an example of these kind of TPMs.

It is a common scenario to have a transaction span across multiple TPMs connected through traditional proprietary protocols. A TPM in which transaction instance execution starts will act as a transaction coordinator and use two phase commit to ensure data consistency with the recoverable resources associated with the transaction. When there are more than one TPM involved in a LUW, the TPM that initiates the transaction assumes the responsibility of a coordinator and the rest of the TPMs shall act as participants. The coordinating TPM usually controls the final outcome of the transaction that spans across multiple TPMs and resource managers connected to participant TPMs.

As the number of transactional processing systems involved in a LUW increases, the probability of failures during the transaction resolution and transaction recovery will also increase. Every TPM usually treats the requester TPM as coordinator in a synchronously processed transaction. When the TPM coordinator issues PREPARE, COMMIT or ROLLBACK during transaction resolution, every TPM involved in the LUW has to prepare for transaction resolution with its participants. Transaction participant can be either a resource manager or any other interconnected TPM. Similarly if any intermediate TPM fails or crashes in a chain of TPMs, the recovery should happen at every TPM involved in the LUW. A crash in an intermediate TPM handling a transaction can even result in some further TPMs to wait for its coordinator response indefinitely.

The article proposes a method for quick transaction resolution for in-doubt and heuristic damaged transactions in resource managers and TPMs. Traditionally ,it is done by manually performing actions on resource managers to make the data consistency across all the participants involved in a transaction instance or wait for the TPM to come up and attempt to resolve. In the proposed method, an additional heuristic resolution endpoint is created at transaction coordinator as depicted in figure 1 to resolve the in-doubt or heuristic damaged transactions automatically by the resource manager in a heterogeneous multi level TPM environment. If a transaction is spanned across multiple TPMs and RMs, the transaction execution consists of two types of flows across TPMs. The first one is application flow and second is the transaction resolution flow. In the proposed solution, during the application request flow, the coordinator TPM attaches its heuristic resolution endpoi...