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