docs: public int getNodeIdForZoneNary(int zoneId, int zoneNary, int partitionId) {
          List<Integer> replicatingNodeIds = getReplicationNodeList(partitionId);
  
          int zoneNAry = -1;
          for(int replicatingNodeId: replicatingNodeIds) {
              Node replicatingNode = cluster.getNodeById(replicatingNodeId);
              // bump up the counter if we encounter a replica in the given zone
              if(replicatingNode.getZoneId() == zoneId) {
                  zoneNAry++;
              }
              // when the counter matches up with the replicaNumber we need, we
              // are done.
              if(zoneNAry == zoneNary) {
                  return replicatingNode.getId();
              }
          }
          if(zoneNAry == 0) {
              throw new VoldemortException("Could not find any replicas for the partition "
                                           + partitionId + " in given zone " + zoneId);
          } else {
              throw new VoldemortException("Could not find " + zoneNary
                                           + " replicas for the partition " + partitionId
                                           + " in given zone " + zoneId + ". Only found " + zoneNAry);
          }
      }