if(unloadWaitTime == 0
|| !isRepairDuringFailure()
|| ReplicationUtil.isRollingUpgradeEnabled()) {
return;
}
JxtaReplicationReceiver jxtaReplicationReceiver
= JxtaReplicationReceiver.createInstance();
//System.out.println("ReplicationLifecycleImpl:about to call JxtaReplicationReceiver.stop()");
jxtaReplicationReceiver.repairOnCurrentThread();
//FIXME for 9.1ur1 only do this if we have a background dispatcher
//that we guarantee will call doneSignal.countdown()
CountDownLatch doneSignal = ReplicationHealthChecker.getDoneSignal();
ReplicationHealthChecker.setFlushThreadWaiting(true);