You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (Jira)" <ji...@apache.org> on 2021/02/12 10:29:00 UTC

[jira] [Commented] (FLINK-11749) Returns the stored leadership info on ZooKeeperLeaderRetrievalService started

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

Till Rohrmann commented on FLINK-11749:
---------------------------------------

This issue can now be tackled given that FLINK-11719 is done now.

> Returns the stored leadership info on ZooKeeperLeaderRetrievalService started
> -----------------------------------------------------------------------------
>
>                 Key: FLINK-11749
>                 URL: https://issues.apache.org/jira/browse/FLINK-11749
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Coordination
>    Affects Versions: 1.9.0
>            Reporter: Zili Chen
>            Priority: Minor
>
> Currently, such as in {{JobMaster}}, if we stop a {{ZooKeeperLeaderRetrievalService}} and restart it, because the cached node data isn't change, we have to manually flush it.
> I propose on {{ZooKeeperLeaderRetrievalService}} stated, get {{ChildData}} from {{NodeCache}} and if the data isn't null, generate LeadershipInfo(Address and UUID) and notify the listener.
> cc [~till.rohrmann]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)