[ 
https://issues.apache.org/jira/browse/FLINK-33527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rui Fan updated FLINK-33527:
----------------------------
    Description: 
Currently, we just clear ParallelismOverrides  after autoscaler is disabled.

We should clear CollectedMetrics and ScalingHistory  as well to prevent state 
leak.
 * CollectedMetrics can be cleared directly.
 * ScalingHistory can be cleared based on trim logic( 
{color:#9876aa}VERTEX_SCALING_HISTORY_AGE){color}

  was:
Currently, we just clear ParallelismOverrides  after autoscaler is disabled.

We should clear CollectedMetrics and ScalingHistory  as well:
 * CollectedMetrics can be cleared directly.
 * ScalingHistory can be cleared based on trim logic( 
{color:#9876aa}VERTEX_SCALING_HISTORY_AGE){color}


> Clear all physical states after autoscaler is disabled
> ------------------------------------------------------
>
>                 Key: FLINK-33527
>                 URL: https://issues.apache.org/jira/browse/FLINK-33527
>             Project: Flink
>          Issue Type: Improvement
>          Components: Autoscaler
>            Reporter: Rui Fan
>            Assignee: Rui Fan
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: kubernetes-operator-1.7.0
>
>
> Currently, we just clear ParallelismOverrides  after autoscaler is disabled.
> We should clear CollectedMetrics and ScalingHistory  as well to prevent state 
> leak.
>  * CollectedMetrics can be cleared directly.
>  * ScalingHistory can be cleared based on trim logic( 
> {color:#9876aa}VERTEX_SCALING_HISTORY_AGE){color}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to