Aitozi commented on code in PR #195:
URL: 
https://github.com/apache/flink-kubernetes-operator/pull/195#discussion_r865857417


##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/observer/deployment/AbstractDeploymentObserver.java:
##########
@@ -211,6 +219,22 @@ protected boolean isSuspendedJob(FlinkDeployment 
deployment) {
                 && lastReconciledSpec.getJob().getState() == 
JobState.SUSPENDED;
     }
 
+    private void onMissingDeployment(FlinkDeployment deployment) {

Review Comment:
   Can we distinguish the `onMissingDeployment` cause here (like by judge 
whether there is an on-going upgrade). If it caused by Operator, we can 
continue reconcile. Otherwise we can just clean up the `FlinkDeployment` which 
means an external operation or internal finish/failed happened. This will also 
solve the problem for job before 1.14 I think.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to