code: public static void validateClusterPartitionCounts(final Cluster lhs, final Cluster rhs) {
          if(lhs.getNumberOfPartitions() != rhs.getNumberOfPartitions())
              throw new VoldemortException("Total number of partitions should be equal [ lhs cluster ("
                                           + lhs.getNumberOfPartitions()
                                           + ") not equal to rhs cluster ("
                                           + rhs.getNumberOfPartitions() + ") ]");
      }
docs: Confirms that both clusters have the same number of total partitions.
  
  @param lhs
  @param rhs