You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "liuzhuo (Jira)" <ji...@apache.org> on 2022/04/18 10:20:00 UTC

[jira] [Commented] (FLINK-27289) Do some optimizations for "FlinkService#stopSessionCluster"

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

liuzhuo commented on FLINK-27289:
---------------------------------

In the "FlinkService#stopSessionCluster" method, if 'deleteHaData=true', the 'FlinkUtils#waitForClusterShutdown' method will be called twice.
So we should only execute 'FlinkUtils#waitForClusterShutdown' again with 'deleteHaData=false',This will reduce two visits to the kubernetes cluster

> Do some optimizations for "FlinkService#stopSessionCluster"
> -----------------------------------------------------------
>
>                 Key: FLINK-27289
>                 URL: https://issues.apache.org/jira/browse/FLINK-27289
>             Project: Flink
>          Issue Type: Improvement
>          Components: Kubernetes Operator
>            Reporter: liuzhuo
>            Priority: Minor
>              Labels: pull-request-available
>
> In the "FlinkService#stopSessionCluster" method, if 'deleteHaData=true', the 'FlinkUtils#waitForClusterShutdown' method will be called twice



--
This message was sent by Atlassian Jira
(v8.20.1#820001)