]
Tom Jenkinson updated JBTM-2885:
--------------------------------
Summary: Orphan detection may attempt to rollback orphan if resource fails to return
values (was: Orphan detection may attempt to rollback XID even if XAR did not report Xid
due to failure)
Orphan detection may attempt to rollback orphan if resource fails to
return values
----------------------------------------------------------------------------------
Key: JBTM-2885
URL:
https://issues.jboss.org/browse/JBTM-2885
Project: JBoss Transaction Manager
Issue Type: Bug
Reporter: Tom Jenkinson
Assignee: Tom Jenkinson
Priority: Optional
Fix For: 5.next
If the XAR returns a Xid from recover(FIRST_PASS) to XARM but then goes offline we may
attempt to rollback the Xid thinking it is stale. If the XAR returns an XAE at that point
we should clear the _xidScans so we pick it up next time.
However, the filter that checks for transaction state should detect a transaction log and
ignore this Xid anyway.