nishita-09 commented on code in PR #994: URL: https://github.com/apache/flink-kubernetes-operator/pull/994#discussion_r2204031675
########## flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/reconciler/deployment/SessionReconciler.java: ########## @@ -120,6 +126,61 @@ private void recoverSession(FlinkResourceContext<FlinkDeployment> ctx) throws Ex .setJobManagerDeploymentStatus(JobManagerDeploymentStatus.DEPLOYING); } + /** + * Detects unmanaged jobs running in the session cluster. Unmanaged jobs are jobs that exist in + * the Flink cluster but are not managed by FlinkSessionJob resources. + */ + private Set<JobID> getUnmanagedJobs( + FlinkResourceContext<FlinkDeployment> ctx, Set<FlinkSessionJob> sessionJobs) { Review Comment: Sure, will simplify this further. Thanks for the review -- 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