gyfora commented on code in PR #1248:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/1248#discussion_r4720529126
##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/reconciler/sessionjob/SessionJobReconciler.java:
##########
@@ -192,25 +192,32 @@ public DeleteControl
cleanupInternal(FlinkResourceContext<FlinkSessionJob> ctx)
// Only check for pending cancellation once the cluster is ready, so
that other deletion
// paths (cluster missing, deleting, unhealthy without HA) are not
blocked.
if (ReconciliationUtils.isJobCancelling(status)) {
+ if (cancellationTimedOut(ctx)) {
+ eventRecorder.triggerEvent(
Review Comment:
I actually removed this event and replaced with warn log, more useful during
a successful deletion
##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/reconciler/deployment/AbstractFlinkResourceReconciler.java:
##########
@@ -289,7 +291,58 @@ protected abstract boolean reconcileSpecChange(
@Override
public DeleteControl cleanup(FlinkResourceContext<CR> ctx) {
autoscaler.cleanup(ctx.getJobAutoScalerContext());
Review Comment:
done
--
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]