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

Gytis Trikleris (JIRA) jira-events at lists.jboss.org
Fri Jan 18 06:50:22 EST 2013


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

Work on JBTM-1356 started by Gytis Trikleris.

> 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: Gytis Trikleris
>            Priority: Optional
>             Fix For: 5.0.0.M2
>
>   Original Estimate: 1 day
>          Time Spent: 5 hours
>  Remaining Estimate: 0 minutes
>
> 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