private String generateErrorMessage(PartitionId partitionId) {
    StringBuilder errMsg = new StringBuilder("Partition " + partitionId + " has too few replicas to satisfy paranoid durability requirements. ");
    replicaPoolByDc.forEach((dcName, v) -> {
      errMsg.append("Datacenter: ").append(dcName).append(" has ").append(v.size()).append(" replicas in LEADER or STANDBY. ");
    });
    return errMsg.toString();
  }
Generate a human-readable error message for when there are not enough replicas to satisfy the request.
@param partitionId The chosen partition.
@return
ambry-router/src/main/java/com/github/ambry/router/ParanoidDurabilityOperationTracker.java