james-kan-shopify opened a new pull request, #1053: URL: https://github.com/apache/flink-kubernetes-operator/pull/1053
## What is the purpose of the change Tackles: https://issues.apache.org/jira/browse/FLINK-38915 Improve blue/green suspend/resume behavior: allow in-place suspension/resume without spawning new deployments, propagate spec changes while suspended, block suspend during transitions, and fix BG status sync bugs. ## Brief change log - Add SUSPEND/RESUME diff detection and in-place handling in `BlueGreenDeploymentService`. (This means if suspension was done on blue, the pipeline will be resumed on blue when state is set back to running). - Block suspend requests during blue/green transitions until transition completes (Post transition will execute the suspend). - Block initial deployment when `job.state=SUSPENDED`. ## Verifying this change This change added tests and can be verified as follows: - `FlinkBlueGreenDeploymentControllerTest`: suspend/resume in-place, suspend during transition blocked, initial suspended rejection. - `FlinkBlueGreenDeploymentSpecDiffTest`: SUSPEND/RESUME diff detection. ## Does this pull request potentially affect one of the following parts: - Dependencies: no - Public API (`CustomResourceDescriptors`): no - Core observer or reconciler logic: yes (blue/green suspend/resume paths, status sync) ## 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]
