[ https://issues.apache.org/jira/browse/ARTEMIS-2559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17268677#comment-17268677 ]
ASF subversion and git services commented on ARTEMIS-2559: ---------------------------------------------------------- Commit ec32b68247e92d73d130d0693eb8cab18defcc54 in activemq-artemis's branch refs/heads/master from gtully [ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=ec32b68 ] ARTEMIS-2559 - resolve intermittent test failure when last ack is lost > Connection failure should rollback XA transactions if != Prepared > ----------------------------------------------------------------- > > Key: ARTEMIS-2559 > URL: https://issues.apache.org/jira/browse/ARTEMIS-2559 > Project: ActiveMQ Artemis > Issue Type: Improvement > Affects Versions: 2.10.1 > Reporter: Clebert Suconic > Assignee: Clebert Suconic > Priority: Major > Fix For: 2.11.0 > > Time Spent: 50m > Remaining Estimate: 0h > > 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 -- This message was sent by Atlassian Jira (v8.3.4#803005)