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

Gytis Trikleris (JIRA) jira-events at lists.jboss.org
Mon Jan 14 11:53:22 EST 2013


     [ https://issues.jboss.org/browse/JBTM-1356?page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel\#worklog-{worklog.getId()} ]

Gytis Trikleris logged work on JBTM-1356:
-----------------------------------------

                Author: Gytis Trikleris
            Created on: 14/Jan/13 11:52 AM
            Start Date: 14/Jan/13 6:20 PM
    Worklog Time Spent: 4 hours, 30 minutes 

Issue Time Tracking
-------------------

    Remaining Estimate: 0 minutes  (was: 1 day)
            Time Spent: 4 hours, 30 minutes
            Worklog Id:     (was: 12428398)


> 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: 4 hours, 30 minutes
>  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