-
Feature Request
-
Resolution: Unresolved
-
Major
-
None
-
4.17.17
-
None
Currently orphan detection is supported for JTA, not for JTS. Please, add the suport for JTS as well.
The following scenario for JTS causes that the orphan is left in the transaction log store and the prepared resource could held the lock till the time that it's timeouted on the side of the database/jms.
The program flow is following (test run on EAP 6)
enlisting jms xaresource to transaction
sending msg to queue
enlisting xa test resource
preparing jms xaresource
preparing xa test resource
crash JVM at the end of the test XAResource.prepare()
restart app server and recovery is run
During recovery the jms resource is processed correctly because TM found some info in its jts logs. But such info was not saved for test xa resource. The test xa is not rollback.
More info and discussion could be found at: https://bugzilla.redhat.com/show_bug.cgi?id=1064170
- is related to
-
JBTM-2287 JTS mode sends an erroneous xa_end to resource manager if prepare() returns RMFAIL
- Closed
-
JBTM-2893 JTS subordinate transaction could check Xid format during enlistment to allow it being edited
- Closed
- relates to
-
JBTM-2583 Use the local ActionStatusService to determine if a transaction containing XAResources is still in-flight before relying on orphan detection
- Closed