private boolean isLocalReplica(ReplicaId replica) {
      return replica.getDataNodeId().getDatacenterName().equals(datacenterName);
    }
Check if the operation has failed locally (i.e. in the local data center).
@return true if we have received enough failed responses from local replicas that the operation cannot possibly
succeed, false otherwise.
ambry-router/src/main/java/com/github/ambry/router/ParanoidDurabilityOperationTracker.java