[Core feature] Add an option to consider deleted cache as cache miss. #5918
Labels
enhancement
New feature or request
untriaged
This issues has not yet been looked at by the Maintainers
Motivation: Why do you think this is important?
Currently it looks like deleted cache leads to error. The only way to safely delete them is to set
max-cache-age
and delete cache older than that, or rerun pipeline with cache overwrite. This setting is not very flexible, because it is global.Goal: What should the final outcome look like, ideally?
If Flyte interprets non-exist cache object as cache miss and rerun the tasks, I can use AWS lifecycle policies which can be more flexible (e.g. delete large cache faster).
Describe alternatives you've considered
More tools around cache management and flexible expiration could be added to Flyte. It was raised in the past but it hasn't been added, and it likely requires much bigger change.
#3305
https://discuss.flyte.org/t/12905332/caching-hey-all-i-rewrote-one-of-my-company-s-critical-workf
Propose: Link/Inline OR Additional context
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: