[jbossts-issues] [JBoss JIRA] (JBTM-2583) Try to contact the transaction status connection manager to determine if a transaction containing XAResources is still in-flight before relying on orphan detection
Tom Jenkinson (JIRA)
issues at jboss.org
Fri Dec 11 07:22:00 EST 2015
Tom Jenkinson created JBTM-2583:
-----------------------------------
Summary: Try to contact the transaction status connection manager to determine if a transaction containing XAResources is still in-flight before relying on orphan detection
Key: JBTM-2583
URL: https://issues.jboss.org/browse/JBTM-2583
Project: JBoss Transaction Manager
Issue Type: Feature Request
Components: Recovery
Reporter: Tom Jenkinson
Fix For: 5.next
Currently we use a timeout based system to determine if prepared Xids that a ResourceManager knows about but where the transaction is not prepared yet are the result of a pre-prepare crash or whether it is just slow progress of the resources/transaction manager.
This issue is to record an enhancement to the recovery manager for XAResources to attempt to contact the transaction manager to determine if an Xid is indoubt before rolling it back.
There are a couple of advantages to this:
1. In the common case where the recovery manager and transaction manager are co-located this negates the need for a timeout based process entirely
2. In the case where the recovery manager and transaction manager are distributed, the current behaviour of orphan detection can be employed (or the timeout interval extended)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbossts-issues
mailing list