4 Replies Latest reply on Dec 1, 2015 9:12 AM by mmusgrov

    Requirements for ordering RecoveryModules

    mmusgrov

      gytis came across an issue where the REST-AT -> JTA bridge recovery is failing. He found the root cause to be that the XARecoveryModule is recovering the bridge before the InboundBridgeRecoveryModule gets a chance to run. We had a similar issue with the CMR functionality where the CommitMarkableResourceRecordRecoveryModule had to run before the AtomicActionRecoveryModule tried to recover it and the fix we applied there was to hard code the order via the WildFly subsystem (see ArjunaRecoveryManagerService). Since we now have two examples where the ordering is an issue I think it is time we added an interface for ordering RecoveryModules.