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

fix: Disable blob caching when garbage-collection is enabled #105

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

0xDEC0DE
Copy link

The garbage-collection cronjob will cause the registry to go into an inconsistent state if the blob cache is not cleared afterward.

Since the cronjob has no facility for doing that, disable blob caching entirely when garbage-collection is in use.

Fixes: Issue #104

Copy link

@nabaruns nabaruns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

The garbage-collection cronjob will cause the registry to go into
an inconsistent state if the blob cache is not cleared afterward.

Since the cronjob has no facility for doing that, disable blob
caching entirely when garbage-collection is in use.

Fixes: Issue twuni#104
@0xDEC0DE 0xDEC0DE changed the title Disable blob caching when garbage-collection is enabled fix: Disable blob caching when garbage-collection is enabled Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants