Skip to content

/storage/docker/registry/v2/repository has not been deleted when gc & purge policy #21690

@Jim0530

Description

@Jim0530

If you are reporting a problem, please make sure the following information are provided:

Expected behavior and actual behavior:

I have configured a policy for every project to retain artifacts pushed within the last 3 days, with tags matching **, including untagged artifacts. However, the storage is still full. Upon inspecting the /storage folder, I found that while the /storage/docker/registry/v2/blob directory is being correctly purged, both ui and the result of du -h blobs are equal.
The /storage/docker/registry/v2/repository directory still contains data from repositories that have already been deleted and no longer appear in the UI.

Steps to reproduce the problem:

Versions:
Harbor ==> v2.12.0-9da38ae0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions