morhidi commented on code in PR #613:
URL: 
https://github.com/apache/flink-kubernetes-operator/pull/613#discussion_r1223557386


##########
flink-kubernetes-operator-autoscaler/src/main/java/org/apache/flink/kubernetes/operator/autoscaler/ScalingMetricCollector.java:
##########
@@ -100,7 +100,9 @@ public CollectedMetricHistory updateMetrics(
             cleanup(cr);
             metricHistory.clear();
             metricCollectionStartTs = now;
+            cleanupRecommendedParallelisms(recommendedParallelisms, 
resourceID);
         }
+        var topology = getJobTopology(flinkService, cr, conf, autoscalerInfo);

Review Comment:
   It was necessary in certain cases it fetched the new job graph and then 
viped it out with the metric history.



-- 
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