[jbossts-issues] [JBoss JIRA] (JBTM-3138) XTS txbridge does not run commit when succesfully prepared on crash recovery

Ondrej Chaloupka (Jira) issues at jboss.org
Tue Apr 23 11:21:00 EDT 2019


     [ https://issues.jboss.org/browse/JBTM-3138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ondrej Chaloupka updated JBTM-3138:
-----------------------------------
    Steps to Reproduce: 
>From the PR https://github.com/jbosstm/narayana/pull/1391 running the test
{code}
mvn clean install -Parq -Dtest=InboundCrashRecoveryTests#testCrashCommit
{code}


> XTS txbridge does not run commit when succesfully prepared on crash recovery
> ----------------------------------------------------------------------------
>
>                 Key: JBTM-3138
>                 URL: https://issues.jboss.org/browse/JBTM-3138
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: XTS
>    Affects Versions: 5.9.5.Final
>            Reporter: Ondrej Chaloupka
>            Assignee: Ondrej Chaloupka
>            Priority: Critical
>         Attachments: server.log, stacktrace.txt
>
>
> As it seems the crashed inbound txbridge participant finished with rollback after recovery is run on the prepared participant.
> In scenario
> * WS call to the WFLY server
> * inbound bridge injects the JTA transactions as subordinate under the WS AT one
> * prepare is called and the 2PC phase finishes
> * commit phase starts and JVM crashes
> * restart of WFLY server
> * recovery is expected to commit the participants
> the outcome is rollback for the participant not the commit as it's expected. This way the data consistency could be harmed.
> This was discussed at the forum https://developer.jboss.org/thread/279243 as follow-up to the issue JBTM-3079.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jbossts-issues mailing list