-
Bug
-
Resolution: Done
-
Major
-
4.2, 5.5.0.Final
-
None
-
- Run transaction with option com.arjuna.ats.arjuna.coordinator.asyncAfterSynchronization=true and synchronizations
The problem:
There's two problems about asyncAfterSynchronization(com.arjuna.ats.arjuna.coordinator.asyncAfterSynchronization=true) option:
- If we want asyncAfterSynchronization, we must set asyncBeforeSynchronization
- When tx abort, and we have asyncAfterSynchronization option, there's exception
Root cause: TwoPhaseCoordinator.synchronizationCompletionService and TwoPhaseCoordinator.runningSynchronizations only inited in asyncBeforeSynchronization
Solution:
Also init TwoPhaseCoordinator.synchronizationCompletionService and TwoPhaseCoordinator.runningSynchronizations in asyncAfterSynchronization