suneet-s commented on code in PR #14396:
URL: https://github.com/apache/druid/pull/14396#discussion_r1263236416


##########
indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/supervisor/SeekableStreamSupervisor.java:
##########
@@ -2950,21 +2959,21 @@ private void checkTaskDuration() throws 
ExecutionException, InterruptedException
         }
       }
 
-
-      boolean stopTasksEarly = false;
-      if (earlyStopTime != null && (earlyStopTime.isBeforeNow() || 
earlyStopTime.isEqualNow())) {
-        log.info("Early stop requested - signalling tasks to complete");
-
-        earlyStopTime = null;
-        stopTasksEarly = true;
-      }
-
-
-      // if this task has run longer than the configured duration, signal all 
tasks in the group to persist
-      if (earliestTaskStart.plus(ioConfig.getTaskDuration()).isBeforeNow() || 
stopTasksEarly) {
+      if (stopTasksEarly) {
         log.info("Task group [%d] has run for [%s]", groupId, 
ioConfig.getTaskDuration());

Review Comment:
   I think the log is still correct, the task group is being stopped. On line 
2944 there is a log line that indicates the task groups are stopping because an 
early stop was requested



-- 
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]

Reply via email to