You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Matthias Pohl (Jira)" <ji...@apache.org> on 2022/02/21 15:09:00 UTC

[jira] [Updated] (FLINK-26284) The HA StateHandleStore implementations clean the metdata before cleaning the StateHandle

     [ https://issues.apache.org/jira/browse/FLINK-26284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Pohl updated FLINK-26284:
----------------------------------
    Summary: The HA StateHandleStore implementations clean the metdata before cleaning the StateHandle  (was: ZooKeeperStateHandleStore cleans the data stored in ZK before cleaning the StateHandle)

> The HA StateHandleStore implementations clean the metdata before cleaning the StateHandle
> -----------------------------------------------------------------------------------------
>
>                 Key: FLINK-26284
>                 URL: https://issues.apache.org/jira/browse/FLINK-26284
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Coordination
>    Affects Versions: 1.15.0
>            Reporter: Matthias Pohl
>            Assignee: Matthias Pohl
>            Priority: Blocker
>
> Cleanup of job state does not work properly in an HA set with ZooKeeper. [ZooKeeperStateHandleStore.releaseAndTryRemove:410|https://github.com/apache/flink/blob/0cf7c3dedd3575cdfed57727e9712c28c013d7ca/flink-runtime/src/main/java/org/apache/flink/runtime/zookeeper/ZooKeeperStateHandleStore.java#L410] deletes the data stored in ZooKeeper before cleaning up the {{StateHandle}}. If the {{StateHandle}} cleanup fails after the reference is already deleted in ZK, a cleanup retry will constantly because it cannot deserialize the {{StateHandle}} anymore.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)