[ https://issues.apache.org/jira/browse/FLINK-8807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16385448#comment-16385448 ]
ASF GitHub Bot commented on FLINK-8807: --------------------------------------- Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/5623 I would suggest to do the comparison by checking that the list have the same checkpoint IDs. > 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 > Priority: Blocker > 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)