You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yi Tang (Jira)" <ji...@apache.org> on 2021/05/21 03:25:00 UTC

[jira] [Commented] (FLINK-21921) Unreasonable ADDED event ignoring in callback handler in KubernetesLeaderRetrievalDriver

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

Yi Tang commented on FLINK-21921:
---------------------------------

[~trohrmann] You can assign it to me, i will provide a little change about this.

> Unreasonable ADDED event ignoring in callback handler in KubernetesLeaderRetrievalDriver
> ----------------------------------------------------------------------------------------
>
>                 Key: FLINK-21921
>                 URL: https://issues.apache.org/jira/browse/FLINK-21921
>             Project: Flink
>          Issue Type: Bug
>          Components: Deployment / Kubernetes
>            Reporter: Yi Tang
>            Priority: Major
>              Labels: stale-major
>
> The comment is not exactly accurate in case of JM restarting or ConfigMap watching restarting(KubernetesTooOldResourceVersionException)
> {code:java}
> private class ConfigMapCallbackHandlerImpl
>             implements FlinkKubeClient.WatchCallbackHandler<KubernetesConfigMap> {
>         @Override
>         public void onAdded(List<KubernetesConfigMap> configMaps) {
>             // The ConfigMap is created by KubernetesLeaderElectionDriver with empty data. We do not
>             // process this
>             // useless event.
>         }
> {code}
> Maybe we should handle it like onModified.



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