[ https://issues.apache.org/jira/browse/ARTEMIS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15162814#comment-15162814 ]
ASF GitHub Bot commented on ARTEMIS-421: ---------------------------------------- GitHub user gaohoward opened a pull request: https://github.com/apache/activemq-artemis/pull/403 ARTEMIS-421 wrong XA_RETRY XAException error code returned on crash for 1PC ARTEMIS-421 wrong XA_RETRY XAException error code returned on crash for 1PC You can merge this pull request into a Git repository by running: $ git pull https://github.com/gaohoward/activemq-artemis artemis421 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/activemq-artemis/pull/403.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #403 ---- commit 19fe7fd595566236788929afe26e9cebedce9ce7 Author: Howard Gao <howard....@gmail.com> Date: 2016-02-24T10:54:45Z ARTEMIS-421 wrong XA_RETRY XAException error code returned on crash for 1PC ---- > wrong XA_RETRY XAException error code returned on crash for 1PC > --------------------------------------------------------------- > > Key: ARTEMIS-421 > URL: https://issues.apache.org/jira/browse/ARTEMIS-421 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker > Affects Versions: 1.1.0 > Reporter: Howard Gao > Assignee: Howard Gao > Priority: Critical > Fix For: 1.2.0 > > > According to XA spec you can't return XA_RETRY from xa_commit(TMONEPHASE) and > that RMFAIL should be returned. > Currently artemis always return XA_RETRY regardless of one_phase flag. -- This message was sent by Atlassian JIRA (v6.3.4#6332)