Patent ID: 8479044
Filing Date: 2013-07-02
Classification: G06F

Abstract:
1. A computer implemented method for determining a state associated with a transaction for use with a transactional processing system comprising a transaction coordinator and a plurality of grouped and inter-connected resource managers, the computer implemented method comprising responsive to a communications failure between the transaction coordinator and a first resource manager causing a transaction to have an in-doubt state, connecting to a second resource manager; responsive to connecting, sending by the transaction coordinator to the second resource manager, a query requesting data associated with an in-doubt transaction; determining a size associated with a subset of a first log associated with the first resource manager, and subsequently, obtaining at the first resource manager, by the second resource manager, a shared lock to data associated with the in-doubt transaction, wherein the obtaining further comprises obtaining a shared lock to the subset; and responsive to obtaining, collating, by the second resource manager, data associated with the in-doubt transaction associated with the first resource manager; determining whether the size associated with the subset has changed; responsive to determining that the size has not changed, transmitting the data associated with the in-doubt transaction associated with the first resource manager to the transaction coordinator; and responsive to determining that the size has changed, re-obtaining a shared lock to the subset; collating, by the second resource manager, data associated with the in-doubt transaction associated with the first resource manager; and responsively, releasing the shared lock.