Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-2559

Connection failure should rollback XA transactions if != Prepared

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.10.1
    • Fix Version/s: 2.11.0
    • Component/s: None
    • Labels:
      None

      Description

      Say that your connection failed, and you have a pending XA TX.

      On that state, during a failed connection you should rollback the TX and redeliver messages.

      As a reference to the affected code:

      It should check if failing, the pending TX should be rolled back:

      https://github.com/apache/activemq-artemis/blob/2bf2dba8d3eb346ad4f101ca2b2f1440f72cf3e2/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ServerSessionImpl.java#L387-L396

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                clebertsuconic Clebert Suconic
                Reporter:
                clebertsuconic Clebert Suconic
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m