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

The digest field in the blob table contains duplicate values #21242

Open
devopslyf opened this issue Nov 26, 2024 · 3 comments
Open

The digest field in the blob table contains duplicate values #21242

devopslyf opened this issue Nov 26, 2024 · 3 comments

Comments

@devopslyf
Copy link

table structure:
image

duplicate data:
image

harbor version: v2.4.2

postgresql version: 11.13.0

@devopslyf
Copy link
Author

Can I delete one of them, and if so, how can I determine which one to delete?

@stonezdj
Copy link
Contributor

stonezdj commented Nov 26, 2024

It looks similar to this issue: #17544,
You can refer the wiki: https://github.com/goharbor/harbor/wiki/Harbor-FAQs#duplicate-repository-name-in-the-same-project
Because the blob ID is not referenced in other table, delete any should work.

@devopslyf
Copy link
Author

@stonezdj Is the reindex operation indispensable?

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

2 participants