pzampino commented on code in PR #742: URL: https://github.com/apache/knox/pull/742#discussion_r1146404015
########## gateway-service-webhdfs/src/main/java/org/apache/knox/gateway/hdfs/dispatch/AbstractHdfsHaDispatch.java: ########## @@ -78,14 +60,35 @@ protected void executeRequest(HttpUriRequest outboundRequest, HttpServletRequest inboundResponse = executeOutboundRequest(outboundRequest); writeOutboundResponse(outboundRequest, inboundRequest, outboundResponse, inboundResponse); } catch (StandbyException e) { - LOG.errorReceivedFromStandbyNode(e); - failoverRequest(outboundRequest, inboundRequest, outboundResponse, inboundResponse, e); + /* if non-idempotent requests are not allowed to failover */ Review Comment: Could still be factored out to a common method though, I think. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org