kfaraz commented on code in PR #17600:
URL: https://github.com/apache/druid/pull/17600#discussion_r1959883173
##########
server/src/main/java/org/apache/druid/rpc/StandardRetryPolicy.java:
##########
@@ -141,6 +141,7 @@ public boolean retryHttpResponse(final HttpResponse
response)
return code == HttpResponseStatus.BAD_GATEWAY.getCode()
|| code == HttpResponseStatus.SERVICE_UNAVAILABLE.getCode()
|| code == HttpResponseStatus.GATEWAY_TIMEOUT.getCode()
+ || code == HttpResponseStatus.CONFLICT.getCode()
Review Comment:
I am not sure if retrying whenever a conflict response is received is a good
idea.
We don't know if the conflict will go away on retrying.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]