[
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)