Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot delete fully index entry if content file doesn't exist. #79

Open
RustyNova016 opened this issue Jun 10, 2024 · 0 comments
Open

Comments

@RustyNova016
Copy link
Contributor

If we try to remove an index entry or content entry when it's already deleted, cacache throw an io::ErrorKind::NotFound. This is fine, but when using RemoveOpts and remove_fully, a missing content file will throw an early error and prevent the deletion of the bucket.

A solution would be to simply ignore NotFound errors, as it is already in the intended final state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant