private void onErrorResponse(ReplicaId replicaId, TrackedRequestFinalState putRequestFinalState) {
      onErrorResponse(replicaId, putRequestFinalState, true);
    }
Perform the necessary actions when a request to a replica fails.
@param replicaId the {@link ReplicaId} associated with the failed response.
@param putRequestFinalState the {@link RouterErrorCode} associated with failed response.
ambry-router/src/main/java/com/github/ambry/router/PutOperation.java