You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (JIRA)" <ji...@apache.org> on 2018/02/28 11:27:00 UTC

[jira] [Created] (FLINK-8807) ZookeeperCompleted checkpoint store can get stuck in infinite loop

Aljoscha Krettek created FLINK-8807:
---------------------------------------

             Summary: ZookeeperCompleted checkpoint store can get stuck in infinite loop
                 Key: FLINK-8807
                 URL: https://issues.apache.org/jira/browse/FLINK-8807
             Project: Flink
          Issue Type: Bug
          Components: State Backends, Checkpointing
    Affects Versions: 1.5.0
            Reporter: Aljoscha Krettek
             Fix For: 1.5.0


This code: https://github.com/apache/flink/blob/9071e3befb8c279f73c3094c9f6bddc0e7cce9e5/flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/ZooKeeperCompletedCheckpointStore.java#L201 can be stuck forever if at least one checkpoint is not readable because {{CompletedCheckpoint}} does not have a proper {{equals()}}/{{hashCode()}} anymore.

We have to fix this and also add a unit test that verifies the loop still works if we make one snapshot unreadable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)