Github user tillrohrmann commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1794#discussion_r56154789
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinator.java
 ---
    @@ -921,11 +921,20 @@ public ActorGateway 
createActivatorDeactivator(ActorSystem actorSystem, UUID lea
        // 
------------------------------------------------------------------------
     
        private class ScheduledTrigger extends TimerTask {
    +           private final long processingInterval;
    +           private long lastCheckpoint = 0;
    +
    +           public ScheduledTrigger(long guaranteedInterval) {
    +                   this.processingInterval = guaranteedInterval;
    --- End diff --
    
    Why do we need the guaranteedInterval within the `ScheduledTrigger`? Can we 
be sure that the `time - lastCheckpoint` is always greater than 
`processingInterval` if the task is executed?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to