@Override
  public void onPartitionBecomeDroppedFromError(String partitionName) {
    participantMetrics.incStateTransitionMetric(partitionName, ReplicaState.ERROR, ReplicaState.DROPPED);
    logger.info("Purging disabled state of dropped replica {} from both InstanceConfig and DataNodeConfig",
        partitionName);
    setPartitionDisabledState(partitionName, false);
    localPartitionAndState.remove(partitionName);
    participantMetrics.partitionDroppedCount.inc();
    participantMetrics.decStateTransitionMetric(partitionName, ReplicaState.ERROR, ReplicaState.DROPPED);
    participantMetrics.clearStateTransitionMetric(partitionName);
  }
If FileCopyProtocol is enabled, we will invoke the FileCopyStateChangeListener
ambry-clustermap/src/main/java/com/github/ambry/clustermap/HelixParticipant.java