This commit is contained in:
Justin Bertram 2018-12-14 18:04:07 -06:00
commit c2c2ce0a47
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ public final class SharedStoreBackupActivation extends Activation {
activeMQServer.getNodeManager().releaseBackup();
}
if (sharedStoreSlavePolicy.isAllowAutoFailBack()) {
if (sharedStoreSlavePolicy.isAllowAutoFailBack() && ActiveMQServerImpl.SERVER_STATE.STOPPING != activeMQServer.getState() && ActiveMQServerImpl.SERVER_STATE.STOPPED != activeMQServer.getState()) {
startFailbackChecker();
}
} catch (ClosedChannelException | InterruptedException e) {