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

[jira] [Created] (FLINK-26284) ZooKeeperStateHandleStore cleans the data stored in ZK before cleaning the StateHandle

Matthias Pohl created FLINK-26284:
-------------------------------------

             Summary: ZooKeeperStateHandleStore cleans the data stored in ZK 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


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)