@Override
  public boolean resetPartitionState(String partitionName) {
    boolean result = true;
    try {
      String resourceName = getResourceNameOfPartition(helixAdmin, clusterName, partitionName);
      if (resourceName == null) {
        logger.error("Can't find resource for partition {} when resetting partition state", partitionName);
        return false;
      }
      helixAdmin.resetPartition(clusterName, instanceName, resourceName, Collections.singletonList(partitionName));
    } catch (Exception e) {
      logger.error("Exception occurred when resetting partition " + partitionName, e);
      result = false;
    }
    return result;
  }
@return a snapshot of registered state change listeners.
ambry-clustermap/src/main/java/com/github/ambry/clustermap/HelixParticipant.java