XComp opened a new pull request, #24910:
URL: https://github.com/apache/flink/pull/24910

   ## What is the purpose of the change
   
   Introduces new `RescaleManager#onTrigger` endpoint that can be used to 
initiate a possible rescaling.
   
   ## Brief change log
   
   * Introduces `RescaleManager#onTrigger` as a new interface method
   * Adds `DefaultRescaleManager#onTrigger` implementation
   * Makes `Executing` call the new `onTrigger` method subsequently to 
`onChange` to simulate the old behavior
   
   ## Verifying this change
   
   * Adapted `DefaultRescaleManagerTest` to run `onTrigger` subsequently to 
`onChange` for now
   * Adds new test for checking noop behaviour if only on `onTrigger` is called 
(i.e. for AUTO-649 this means that a checkpoint is completed w/o a previous 
rescale event)
   
   ## 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 changed class annotated with 
`@Public(Evolving)`: no
     - The serializers: no
     - The runtime per-record code paths (performance sensitive): no
     - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Kubernetes/Yarn, ZooKeeper: yes
     - The S3 file system connector: no
   
   ## Documentation
   
     - Does this pull request introduce a new feature? yes
     - If yes, how is the feature documented? configuration docs


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