private boolean hasFailedDynamically()  {
    if (routerConfig.routerPutUseDynamicSuccessTarget) {
      return (totalLocalReplicaCount - failedLocalReplicas) < Math.max(totalLocalReplicaCount - 1, localReplicaSuccessTarget + disabledLocalReplicas);
    }
    return false;
  }
Check if the operation has failed "dynamically", accounting for the intermediate Helix state where we may have more
replicas than normal (e.g. Helix brought up a replacement replica, but the old one is still online).
@return true if we have received enough failed responses from local replicas to trigger dynamic failure, false
otherwise.
ambry-router/src/main/java/com/github/ambry/router/ParanoidDurabilityOperationTracker.java