[
https://issues.jboss.org/browse/JBTM-2583?page=com.atlassian.jira.plugin....
]
Tom Jenkinson updated JBTM-2583:
--------------------------------
Description:
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.
* In the case where the recovery manager and transaction manager are co-located this
negates the need for a timeout based process entirely
* In the case where the recovery manager and transaction manager are not in the same JVM
process, the current behaviour of timeout based orphan detection MUST still be employed
was:
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)
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
Assignee: Tom Jenkinson
Fix For: 6.later
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.
* In the case where the recovery manager and transaction manager are co-located this
negates the need for a timeout based process entirely
* In the case where the recovery manager and transaction manager are not in the same JVM
process, the current behaviour of timeout based orphan detection MUST still be employed
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)