You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2020/01/03 03:06:00 UTC
[jira] [Resolved] (ARTEMIS-2559) Connection failure should rollback
XA transactions if != Prepared
[ https://issues.apache.org/jira/browse/ARTEMIS-2559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Bertram resolved ARTEMIS-2559.
-------------------------------------
Resolution: Fixed
> 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)