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

XAResource.end error may not cause rollback

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.2.3.SP5
    • Fix Version/s: 4.4.0.GA
    • Component/s: JTA
    • Labels:
      None
    • Workaround Description:
      Hide

      Turn off 1PC optimization. In that case, when we get a prepare-failed result from prepare, the coordinator will call rollback on the participant, which will allow it to cleanup.

      Show
      Turn off 1PC optimization. In that case, when we get a prepare-failed result from prepare, the coordinator will call rollback on the participant, which will allow it to cleanup.

      Description

      An XAResource.end call may return an XA_RB* error. In such case, the resource should (but currently does not) still get rollback called on it too. Update XAResourceRecord.java to fix.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  marklittle Mark Little
                  Reporter:
                  jhalliday Jonathan Halliday
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: