Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-2885

Orphan detection may attempt to rollback orphan if resource fails to return values

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Optional
    • Resolution: Done
    • None
    • 5.6.0.Final
    • None
    • None

    Description

      If the XAR returns a Xid from recover(FIRST_PASS) to XARM but then goes offline for a cycle 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, there is a filter that checks for transaction state (JTATransactionLogXAResourceOrphanFilter) which would detect a transaction log and ignore this Xid so adding this protection would only be considered belt-and-braces.

      Attachments

        Activity

          People

            thjenkin@redhat.com Thomas Jenkinson
            thjenkin@redhat.com Thomas Jenkinson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: