@Override
  public boolean isSyncUpComplete(ReplicaId replicaId) {
    LocalReplicaLagInfos lagInfos = replicaToLagInfos.get(replicaId);
    if (lagInfos == null) {
      throw new IllegalStateException(
          "Replica " + replicaId.getPartitionId().toPathString() + " is not found in AmbryReplicaSyncUpManager!");
    }
    return lagInfos.hasSyncedUpWithEnoughPeers();
  }
{@inheritDoc}
The method is blocked on a {@link java.util.concurrent.CountDownLatch} until the bootstrap is complete
ambry-clustermap/src/main/java/com/github/ambry/clustermap/AmbryReplicaSyncUpManager.java