You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2022/01/18 15:54:41 UTC

[GitHub] [druid] kfaraz commented on a change in pull request #12167: Fix infinite retrying during task pausing

kfaraz commented on a change in pull request #12167:
URL: https://github.com/apache/druid/pull/12167#discussion_r786898450



##########
File path: indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/SeekableStreamIndexTaskClient.java
##########
@@ -129,13 +130,14 @@ public boolean resume(final String id)
         return deserializeMap(responseContent, Map.class, getPartitionType(), getSequenceType());
       } else if (responseStatus.equals(HttpResponseStatus.ACCEPTED)) {
         // The task received the pause request, but its status hasn't been changed yet.
+        RetryPolicy retryPolicy = newRetryPolicy();

Review comment:
       Nit: maybe make this final?




-- 
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: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org