aplyusnin commented on code in PR #847:
URL: 
https://github.com/apache/flink-kubernetes-operator/pull/847#discussion_r1665866298


##########
flink-autoscaler/src/main/java/org/apache/flink/autoscaler/JobVertexScaler.java:
##########
@@ -95,9 +105,11 @@ public int computeScaleTargetParallelism(
             LOG.warn(
                     "Target data rate is not available for {}, cannot compute 
new parallelism",
                     vertex);
-            return currentParallelism;
+            return VertexScalingResult.normalScaling(currentParallelism);
         }
 
+        targetCapacity *= backpropagationScaleFactor;

Review Comment:
   Yes, you are right, sometimes it may be too aggressive. But there are also 
some cases where this scale down is important. I can add an extra option for 
more smooth scaling down in case of bottlenecks. What do you 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: issues-unsubscr...@flink.apache.org

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

Reply via email to