1996fanrui opened a new pull request, #707:
URL: https://github.com/apache/flink-kubernetes-operator/pull/707

   ## What is the purpose of the change
   
   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( 
VERTEX_SCALING_HISTORY_AGE)
   
   
   ## Brief change log
   
   [FLINK-33527][autoscaler] Clear all physical states after autoscaler is 
disabled
   
   ## Verifying this change
   
   This change added tests and can be verified as follows:
   
     - *JobAutoScalerImplTest#testAutoscalerDisabled*
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): no
     - The public API, i.e., is any changes to the `CustomResourceDescriptors`: 
 no
     - Core observer or reconciler logic that is regularly executed: no
   
   ## Documentation
   
     - Does this pull request introduce a new feature? no
   


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