XComp opened a new pull request, #24909: URL: https://github.com/apache/flink/pull/24909
## What is the purpose of the change The purpose of this PR is the reorganization of responsibilities for rescaling. ## Brief change log [Class diagrams](https://app.diagrams.net/#G13IwZnJrZ_NBxkDYdAUz2IydP3A5qv8uH#%7B%22pageId%22%3A%22C5RBs43oDa-KdzZeNtuy%22%7D) * Introduction of new interfaces `RescaleManager`, `RescaleManager.Context` and `RescaleManager.Factory` * Responsibilities: * `AdaptiveScheduler` only provides the available parallelism (through the `SlotManager`). The rescalingControllers moved into `RescaleManager` * `Executing` is only in charge of state transitition and savepoints * `RescaleManager` handles the rescale decisions ## Verifying this change The tests were reorganized accordingly. Some additional unit tests are added to improve coverage. ## 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? no - If yes, how is the feature documented? not applicable -- 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]
