gyfora opened a new pull request, #932:
URL: https://github.com/apache/flink-kubernetes-operator/pull/932
## What is the purpose of the change
The autoscaler cleanup logic currently does not actually delete the state of
the job from the state store only the cache. This can cause leaks in some cases
and unintended retrieval of wrong state if the job is deleted then restarted.
## Brief change log
- Change cleanup to clearAll and flush state store
- tests
## Verifying this change
Unit tests have been extended to cover this more.
## 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]