private boolean hasSucceededLocally() {
    // This logic only applies locally, to replicas where the quorum can change during replica movement.
    if(routerConfig.routerPutUseDynamicSuccessTarget) {
      int dynamicSuccessTarget = Math.max(totalLocalReplicaCount - disabledLocalReplicas - 1, routerConfig.routerPutSuccessTarget);
      return localReplicaSuccessCount >= dynamicSuccessTarget;
    }
    return localReplicaSuccessCount >= localReplicaSuccessTarget;
  }
Check if the operation has succeeded locally (i.e. in the local data center).
@return true if we have received enough successful responses from local replicas, false otherwise.
ambry-router/src/main/java/com/github/ambry/router/ParanoidDurabilityOperationTracker.java