rkhachatryan commented on a change in pull request #13091:
URL: https://github.com/apache/flink/pull/13091#discussion_r469268685



##########
File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/CheckpointRequestDecider.java
##########
@@ -55,20 +55,23 @@
        @GuardedBy("lock")
        private final NavigableSet<CheckpointTriggerRequest> queuedRequests = 
new TreeSet<>(checkpointTriggerRequestsComparator());
        private final int maxQueuedRequests;
+       private final Supplier<Long> completionTimeSupplier;
 
        CheckpointRequestDecider(
                        int maxConcurrentCheckpointAttempts,
                        Consumer<Long> rescheduleTrigger,
                        Clock clock,
                        long minPauseBetweenCheckpoints,
                        Supplier<Integer> pendingCheckpointsSizeSupplier,
+                       Supplier<Long> completionTimeSupplier,

Review comment:
       As clarified offline, the proposal was not "remove existing suppliers" 
but "not to add a new one"; which is indeed a smaller changeset.
   I'm updating the PR.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to