[JBoss JIRA] (JBTM-1356) Parallel prepare implementation does not handle LRCO correctly
by Gytis Trikleris (JIRA)
[ https://issues.jboss.org/browse/JBTM-1356?page=com.atlassian.jira.plugin.... ]
Gytis Trikleris updated JBTM-1356:
----------------------------------
Status: Open (was: Pull Request Sent)
> 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
13 years, 2 months
[JBoss JIRA] (JBTM-1423) Remove static block from com.arjuna.common.util.ConfigurationInfo
by Gytis Trikleris (JIRA)
[ https://issues.jboss.org/browse/JBTM-1423?page=com.atlassian.jira.plugin.... ]
Gytis Trikleris logged work on JBTM-1423:
-----------------------------------------
Author: Gytis Trikleris
Created on: 18/Jan/13 6:33 AM
Start Date: 18/Jan/13 6:00 AM
Worklog Time Spent: 10 minutes
Issue Time Tracking
-------------------
Remaining Estimate: 0 minutes (was: 10 minutes)
Time Spent: 10 minutes
Worklog Id: (was: 12428416)
> Remove static block from com.arjuna.common.util.ConfigurationInfo
> -----------------------------------------------------------------
>
> Key: JBTM-1423
> URL: https://issues.jboss.org/browse/JBTM-1423
> Project: JBoss Transaction Manager
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: XTS
> Reporter: Gytis Trikleris
> Assignee: Gytis Trikleris
> Fix For: 5.0.0.M2
>
> Original Estimate: 10 minutes
> Time Spent: 10 minutes
> Remaining Estimate: 0 minutes
>
> Could do guard loading of build time properties behind an "initialized" variable and then call that from each getter and thereby not require the static initialization.
--
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
13 years, 2 months
[JBoss JIRA] (JBTM-1424) Remove static block from org.jboss.jbossts.xts.environment.XTSPropertyManager
by Gytis Trikleris (JIRA)
[ https://issues.jboss.org/browse/JBTM-1424?page=com.atlassian.jira.plugin.... ]
Gytis Trikleris updated JBTM-1424:
----------------------------------
Component/s: XTS
> Remove static block from org.jboss.jbossts.xts.environment.XTSPropertyManager
> -----------------------------------------------------------------------------
>
> Key: JBTM-1424
> URL: https://issues.jboss.org/browse/JBTM-1424
> Project: JBoss Transaction Manager
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: XTS
> Reporter: Gytis Trikleris
> Assignee: Gytis Trikleris
> Fix For: 5.0.0.M2
>
> Original Estimate: 10 minutes
> Remaining Estimate: 10 minutes
>
> Where it catches an exception in the static block and then just uses system properties. I would say that behavior would be better encapsulated in XTSPropertiesFactory.getDefaultProperties itself (thereby removing another static block and making XTSPropertiesFactory.getDefaultProperties more stable).
--
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
13 years, 2 months