Chetan Mehrotra created OAK-3818:
------------------------------------

             Summary: Provide a way to check if all blob references are valid 
                 Key: OAK-3818
                 URL: https://issues.apache.org/jira/browse/OAK-3818
             Project: Jackrabbit Oak
          Issue Type: New Feature
          Components: blob
            Reporter: Chetan Mehrotra
            Assignee: Chetan Mehrotra
             Fix For: 1.4


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

This check can then we exposed as a JMX operation



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to