You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Rui Fan (Jira)" <ji...@apache.org> on 2024/01/22 06:16:00 UTC
[jira] [Created] (FLINK-34178) The ScalingTracking of autoscaler is wrong
Rui Fan created FLINK-34178:
-------------------------------
Summary: The ScalingTracking of autoscaler is wrong
Key: FLINK-34178
URL: https://issues.apache.org/jira/browse/FLINK-34178
Project: Flink
Issue Type: Bug
Components: Autoscaler
Affects Versions: kubernetes-operator-1.8.0
Reporter: Rui Fan
Assignee: Rui Fan
The ScalingTracking of autoscaler is wrong, it's always greater than AutoScalerOptions#STABILIZATION_INTERVAL.
h2. Reason:
When flink job isStabilizing, ScalingMetricCollector#updateMetrics will return a empty metric history. In the JobAutoScalerImpl#runScalingLogic method, if `collectedMetrics.getMetricHistory().isEmpty()` , we don't update the ScalingTracking.
The default value of AutoScalerOptions#STABILIZATION_INTERVAL is 5 min, so the restartTime is always greater than 5 min.
However, it's quick when we use rescale api.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)