gyfora opened a new pull request, #496:
URL: https://github.com/apache/flink-kubernetes-operator/pull/496
## What is the purpose of the change
The PR adds validation for flinkVersion changes on SUSPENDED application. If
the flinkVersion is changed for an application that was suspended with
last-state upgrade mode (relying on the HA metadata) this may lead to state
loss depending on the flink version.
This validation is necessary to avoid unintentional state loss.
If the user wants to change the flink version in these cases, they first
have to restart the job with the old version then perform the upgrade from that
state or use a savepoint.
## Brief change log
- *Added required validation & tests*
## Verifying this change
New validator unit tests added to check the version change scenarios.
## 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
- 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]