@Override
    public boolean setReplicaStoppedState(List<ReplicaId> replicaIds, boolean markStop) {
      if (markStop) {
        replicaIds.forEach(r -> stoppedReplicas.add(r.getReplicaPath()));
      }
      return true;
    }
An implementation of {@link ClusterParticipant} that helps check consistency between participants.
ambry-server/src/test/java/com/github/ambry/server/ParticipantsConsistencyTest.java