Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
For sanity and health check it would be good to have a way to check if all blob references are valid i.e. there are no orphan references in the repository.
We have most of logic in current BlobStore GC logic. So just need a way
- Iterate over whole repository and collect blob references
- Iterate over whole BlobStore and collect blob entries
- Compare the two and entries which are present in #1 and not in #2 would be considered as orphan
Apart from check this job can also generate a report
- Total size of valid blobs
- Total size of garabage
This check can then we exposed as a JMX operation
Attachments
Issue Links
- duplicates
-
OAK-3184 Consistency checker for data/blob store
- Closed