chenyuzhi459 commented on code in PR #855:
URL: 
https://github.com/apache/flink-kubernetes-operator/pull/855#discussion_r1689050095


##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/reconciler/deployment/AbstractJobReconciler.java:
##########
@@ -289,6 +289,8 @@ public boolean 
reconcileOtherChanges(FlinkResourceContext<CR> ctx) throws Except
             LOG.info("Stopping failed Flink job...");
             cleanupAfterFailedJob(ctx);
             status.setError(null);
+            ReconciliationUtils.updateStatusForDeployedSpec(
+                    ctx.getResource(), 
ctx.getDeployConfig(ctx.getResource().getSpec()), clock);

Review Comment:
   Emm, I updated  the right`spec.job.upgradeMode` to lastReconciledSpec before 
resubmitJob in order to control the scope of code influence within the failover 
scenario.
   
   
   However, directly modifying resubmitJob is indeed a more direct way. I have 
already fixed it in this method. 



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to