This is an automated email from the ASF dual-hosted git repository.
gyfora pushed a commit to branch release-1.0
in repository https://gitbox.apache.org/repos/asf/flink-kubernetes-operator.git
The following commit(s) were added to refs/heads/release-1.0 by this push:
new 1f7889d [hotfix] Delete HA data when deleting terminal cluster
1f7889d is described below
commit 1f7889d523c7b2d4ccdfd47297d2b5c222adafdf
Author: Gyula Fora <[email protected]>
AuthorDate: Wed May 25 20:13:19 2022 -0700
[hotfix] Delete HA data when deleting terminal cluster
---
.../operator/reconciler/deployment/ApplicationReconciler.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/reconciler/deployment/ApplicationReconciler.java
b/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/reconciler/deployment/ApplicationReconciler.java
index 9b2f841..442206f 100644
---
a/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/reconciler/deployment/ApplicationReconciler.java
+++
b/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/reconciler/deployment/ApplicationReconciler.java
@@ -271,7 +271,7 @@ public class ApplicationReconciler extends
AbstractDeploymentReconciler {
throw new RuntimeException("This indicates a bug...");
}
LOG.info("Deleting deployment with terminated application before
new deployment");
- flinkService.deleteClusterDeployment(meta, status, false);
+ flinkService.deleteClusterDeployment(meta, status, true);
FlinkUtils.waitForClusterShutdown(
kubernetesClient,
deployConfig,