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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)