Description
ZkController.ensureReplicaInLeaderInitiatedRecovery puts replica information in the local "replicasInLeaderInitiatedRecovery" map before writing to ZK. If there is an exception writing to ZK then the replica is still in the local map preventing future indexing failures from setting the replica in "down" state.