[
https://issues.apache.org/jira/browse/ARTEMIS-4652?focusedWorklogId=906096&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-906096
]
ASF GitHub Bot logged work on ARTEMIS-4652:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 20/Feb/24 21:24
Start Date: 20/Feb/24 21:24
Worklog Time Spent: 10m
Work Description: jbertram opened a new pull request, #4828:
URL: https://github.com/apache/activemq-artemis/pull/4828
This fix was based on static analysis of the code and inspection of the XA
specification. There is no test associated with it due to the difficult nature
in reproducing the failure. This code has been essentially the same for a
decade and only now have there been any reports of it actually sending back the
wrong XA code.
Issue Time Tracking
-------------------
Worklog Id: (was: 906096)
Remaining Estimate: 0h
Time Spent: 10m
> Rollback of XAResource implementation should never return XA_RETRY
> ------------------------------------------------------------------
>
> Key: ARTEMIS-4652
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4652
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Justin Bertram
> Assignee: Justin Bertram
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> According to [the XA
> spec|https://pubs.opengroup.org/onlinepubs/009680699/toc.pdf] {{XA_RETRY}} is
> not a valid response from {{xa_rollback}}. We should return {{XAER_RMFAIL}}
> instead.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)