[jbossts-issues] [JBoss JIRA] (JBTM-1356) Parallel prepare implementation does not handle LRCO correctly

Michael Musgrove (JIRA) jira-events at lists.jboss.org
Tue Nov 27 06:59:21 EST 2012

Michael Musgrove created JBTM-1356:

             Summary: Parallel prepare implementation does not handle LRCO correctly
                 Key: JBTM-1356
                 URL: https://issues.jboss.org/browse/JBTM-1356
             Project: JBoss Transaction Manager
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Transaction Core
    Affects Versions: 5.0.0.M1
            Reporter: Michael Musgrove
            Assignee: Michael Musgrove
            Priority: Optional
             Fix For: 5.0.0.M3

We implement LRCO by putting the 1PC aware resources at the end of the prepared list. Prepare is implemented by preparing each record in the prepared list and then stopping if any prepare fails. This means that if any 2PC aware resource fails then the 1PC resources are not get asked to prepare/commit.

The parallel prepare implementation prepares all participants in separate threads which is wrong - it should prepare 2PC aware participants first and if they vote commit should the 1PC resources be asked to commit.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

More information about the jbossts-issues mailing list