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

    https://github.com/apache/flink/pull/2930#discussion_r90775426
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinator.java
 ---
    @@ -735,15 +735,15 @@ else if (checkpoint != null) {
                                if 
(recentPendingCheckpoints.contains(checkpointId)) {
                                        wasPendingCheckpoint = true;
                                        LOG.warn("Received late message for now 
expired checkpoint attempt {}.", checkpointId);
    +
    +                                   // try to discard the state so that we 
don't have lingering state lying around
    +                                   discardState(message.getState());
                                }
                                else {
    --- End diff --
    
    We should add a comment here for 1.1 that it's important to not discard the 
state here if this was not a known pending checkpoint.


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