Efrat19 commented on code in PR #27589:
URL: https://github.com/apache/flink/pull/27589#discussion_r2797305418


##########
flink-runtime/src/main/java/org/apache/flink/runtime/jobgraph/tasks/CheckpointCoordinatorConfiguration.java:
##########
@@ -281,6 +296,17 @@ public static CheckpointCoordinatorConfigurationBuilder 
builder() {
         return new CheckpointCoordinatorConfigurationBuilder();
     }
 
+    public long getInitialTriggeringDelay() {
+        return pauseSourcesUntilFirstCheckpoint
+                ? ThreadLocalRandom.current()
+                        .nextLong(minPauseBetweenCheckpoints, 
minPauseBetweenCheckpoints * 2 + 1)

Review Comment:
   ```suggestion
           return pauseSourcesUntilFirstCheckpoint
                   ? 0L
                   :
   ```



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

Reply via email to