-
Bug
-
Resolution: Won't Do
-
Blocker
-
None
-
7.2.0.CD14
-
None
Scenario:
Halts server at commit phase ...
- enlist TestXA resource
- enlist XA resource
- prepare TestXA resource
- prepare XA resource
- commit Test XA resource
- JVM crash
- recovery started
- commit XA resource
Periodic recovery does not recover xa resource. It looks like agroal subsystem does not register xa resource to xa recovery module.
Test outcome:
Running org.jboss.as.test.jbossts.crashrec.test.JPACrashRecoveryTestCase Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 109.002 sec <<< FAILURE! - in org.jboss.as.test.jbossts.crashrec.test.JPACrashRecoveryTestCase commitHaltSecond(org.jboss.as.test.jbossts.crashrec.test.JPACrashRecoveryTestCase) Time elapsed: 102.976 sec <<< FAILURE! java.lang.AssertionError: Incorrect data in database after crash recovery. expected:<2> but was:<1> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.jboss.as.test.jbossts.crashrec.test.JPABaseCrashRecoveryTestCase.checkAfterTestExecution(JPABaseCrashRecoveryTestCase.java:150) at org.jboss.as.test.jbossts.crashrec.test.TestBaseCrashRecovery.commitHaltTest(TestBaseCrashRecovery.java:485) at org.jboss.as.test.jbossts.crashrec.test.TestBaseCrashRecovery.commitHaltSecond(TestBaseCrashRecovery.java:418) at org.jboss.as.test.jbossts.crashrec.test.JPACrashRecoveryTestCase.commitHaltSecond(JPACrashRecoveryTestCase.java:76)
- is cloned by
-
WFLY-11214 Periodic recovery does not recover XAResource after jvm crash when agroal subsystem is used
- Open