DG-Wangtao commented on a change in pull request #13045:
URL: https://github.com/apache/flink/pull/13045#discussion_r464337365



##########
File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/CheckpointRequestDecider.java
##########
@@ -136,6 +136,11 @@
                                .map(unused -> queuedRequests.pollFirst());
                }
 
+               CheckpointTriggerRequest first = queuedRequests.first();
+               if (first.isForce() || !first.isPeriodic) {

Review comment:
       Hi, @rkhachatryan, thanks for your proposal. As you say, I will make the 
connection more explicit by inverting the condition and putting onTooEarly 
inside.
   




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to