gyfora opened a new pull request, #340:
URL: https://github.com/apache/flink-kubernetes-operator/pull/340
## What is the purpose of the change
Fix a bug that would cause the `initialSavepointPath` to be ignored if first
deploy attempt fails completely.
## Brief change log
- *Intorduce metadata flag in lastReconciledSpec for first deployments*
- *If first deployment fails, completely clear lastReconciledSpec so we
once again trigger the first deploy logic instead of upgrade*
## Verifying this change
This change added tests and can be verified as follows:
- *Added new testcase to FlinkDeploymentControllerTest to verify full flow*
- *Extended deployment/session job observer tests*
## 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: yes
## 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]