[JBoss JIRA] (JBTM-1349) LogStoreRecoveryTest failure
by Michael Musgrove (JIRA)
Michael Musgrove created JBTM-1349:
--------------------------------------
Summary: LogStoreRecoveryTest failure
Key: JBTM-1349
URL: https://issues.jboss.org/browse/JBTM-1349
Project: JBoss Transaction Manager
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Common
Affects Versions: 4.17.3
Environment: Run the test on a fast machine
Reporter: Michael Musgrove
Assignee: Michael Musgrove
Fix For: 4.17.3
http://172.17.131.2/job/jbossts-branch417-EAP61-java6/1500/
Jonathan root caused the issue as being due to the byteman script "RULE done log purge" signalling the "RULE LogStore.purged" and then setting the flag "LogStore done purge". But the rule that checks the flag "LogStore done purge" runs before the flag is set. The fix is to set the flag and then do the signal.
--
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
12 years
[JBoss JIRA] (JBTM-1356) Parallel prepare implementation does not handle LRCO correctly
by Michael Musgrove (JIRA)
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
12 years