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

    https://github.com/apache/flink/pull/1794#discussion_r56154469
  
    --- 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;
    +           }
     
                @Override
                public void run() {
                        try {
    -                           triggerCheckpoint(System.currentTimeMillis());
    +                           long time = lastCheckpoint;
    --- End diff --
    
    where do you update `lastCheckpoint`? If I'm not mistaken, then it should 
always stay `0`.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to