Uploaded image for project: 'VEND'
  1. VEND
  2. VEND-7

patch xa resource for duplicate rollback in xa mode

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: NXH2-1.4.177-NX01
    • Component/s: H2DATABASE

      Description

      In TestSQLBackend, the rollback test is failing on rollback with the following error

      (2) SQL: XA error on rollback: javax.transaction.xa.XAException: Transaction "XID_0_00_3131313131313131313131313131313131313131313131313131313131313131" not found; SQL statement:
      ROLLBACK TRANSACTION XID_0_00_3131313131313131313131313131313131313131313131313131313131313131 [90129-177]
      
              xaresource.end(xid, XAResource.TMSUCCESS);
              xaresource.prepare(xid);
              xaresource.rollback(xid);
      

      On rollback h2 is running the rollback twice, once using the internal api and then using a command.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Time Spent - 2 hours Remaining Estimate - 2 hours
                  2h
                  Logged:
                  Time Spent - 2 hours Remaining Estimate - 2 hours
                  2h