Created attachment 958970 [details]
Description of problem:
When there is TX log in log store, transaction's log store probe action fails with exception: attached probelog.txt
Version-Release number of selected component (if applicable):
While running ToolingCMRTestCase scenarios on JDK1.8 it starts failing starting with second scenario. When only one scenario is run, it always passes.
Steps to Reproduce:
1. Transaction with TestXAResource and CMR Resource.
2. Crash the server at phase2Commit phase entry on BasicAction.
3. Reboot the server and block periodic recovery.
4. Call "probe log" for transaction's log store. You will see that it will fail.
I am unable to duplicate your issue since all of the tests fail with: AssertionError: Expects two participants of the tx expected:<2> but was:<0> which is different from the error mentioned in this BZ.
These tests are quite complicated to understand so could you simplify the test case as follows: Instead of multiple runs of the server could you take a copy of the data/tx-object-store directory during the final server run and after running the first test. The test case would then be a single test and would not require the presence of state left over from a previous test in order for the error to manifest.
Created attachment 959445 [details]
Created attachment 959446 [details]
I have attached "tx-object-store" content adter the run of first test case, and after the run of second (failed) test case.
Michael Musgrove <mmusgrov> updated the status of jira JBTM-2302 to Resolved
Please can you update me when you have checked Mikes fix - I will do the release then - thanks!
I have checked Mike's fix locally on jdk1.8.0_11 and it worked.
All Tooling tests were passed.
Thanks Hayk - I will merge and release in the morning
Verified on revision EAP 6.4.0.DR12
Tom Jenkinson <tom.jenkinson> updated the status of jira JBTM-2302 to Closed