flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-8807) ZookeeperCompleted checkpoint store can get stuck in infinite loop
Date Mon, 05 Mar 2018 15:53:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-8807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16386252#comment-16386252

ASF GitHub Bot commented on FLINK-8807:

Github user aljoscha commented on the issue:

    Thanks for the comments! I'll incorporate them and merge.

> 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

View raw message