[ https://issues.apache.org/jira/browse/FLINK-30474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17682947#comment-17682947 ]
Matthias Pohl edited comment on FLINK-30474 at 2/1/23 1:42 PM: --------------------------------------------------------------- master: fd4f918bbaa6f3fb1876dc90d9528d190b98a2f7 1.16: edaa148fcfa6ae427af8d840032903817b8ea5ef 1.15: ce38381c15ee83fad782677d51b10941c843b82e was (Author: mapohl): master: fd4f918bbaa6f3fb1876dc90d9528d190b98a2f7 1.16: tba 1.15: tba > DefaultMultipleComponentLeaderElectionService triggers HA backend change even > if it's not the leader > ---------------------------------------------------------------------------------------------------- > > Key: FLINK-30474 > URL: https://issues.apache.org/jira/browse/FLINK-30474 > Project: Flink > Issue Type: Sub-task > Components: Runtime / Coordination > Affects Versions: 1.16.0, 1.17.0, 1.15.3 > Reporter: Matthias Pohl > Assignee: Matthias Pohl > Priority: Critical > Labels: pull-request-available > > {{DefaultMultipleComponentLeaderElectionService}} calls > {{LeaderElectionEventHandler#onLeaderInformationChange}} in any case even > though the contracts of that method states that it should be only called by > the leader to update the HA backend information (see > [JavaDoc|https://github.com/apache/flink/blob/5a2f220e31c50306a60aae8281f0ab4073fb85e1/flink-runtime/src/main/java/org/apache/flink/runtime/leaderelection/LeaderElectionEventHandler.java#L46-L50]). -- This message was sent by Atlassian Jira (v8.20.10#820010)