[
https://issues.apache.org/jira/browse/FLINK-37811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17955565#comment-17955565
]
Arun Lakshman commented on FLINK-37811:
---------------------------------------
This log line get printeed in the recovered case, but not in the current issue
case
{color:#e86b6b}2025-04-30
21:24:58.675,flink-jobmanager-64c57f966b-zfb2l,org.apache.flink.shaded.curator5.org.apache.curator.framework.recipes.leader.LeaderLatch.checkLeadership(LeaderLatch.java:623),org.apache.flink.shaded.curator5.org.apache.curator.framework.recipes.leader.LeaderLatch,Can't
find our node. Resetting. Index: -1{color}
And the symptoms matches the exact issue
https://issues.apache.org/jira/browse/CURATOR-724 LeaderLatch isn't able to
recover after zk recover/leaderPath missing.
> Flink Job stuck in suspend state after losing leadership in Zookeeper HA
> ------------------------------------------------------------------------
>
> Key: FLINK-37811
> URL: https://issues.apache.org/jira/browse/FLINK-37811
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Coordination
> Affects Versions: 1.15.0, 1.20.0
> Reporter: Arun Lakshman
> Priority: Major
> Attachments: notRecovered.csv
>
>
> We have observed an inconsistent behavior pattern where the JobManager
> encounters ZooKeeper session timeout exceptions, leading to leadership loss
> across multiple components including Resource Manager, Job Master, and
> Dispatcher. When this occurs, the system exhibits an unexpected sequence -
> while components are in the process of shutting down, the ZooKeeper
> connection gets RECONNECTED, but jobs still enter a SUSPENDED state. Notably,
> the JobManager process continues to run without performing a system exit. The
> initial trigger appears as a session timeout exception with message "Client
> session timed out, have not heard from server in 26678ms".
>
> I have attached the logs of Job manager
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)