[ 
https://issues.apache.org/jira/browse/OAK-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13944756#comment-13944756
 ] 

Amit Jain commented on OAK-1559:
--------------------------------

An approach can be to have a 
* New marker interface say 
{{BlobStoreAwareNodeStore/GarbageCollectableNodeStore}} which can expose the 
methods above and then {{SegmentNodeStore}} and {{DocumentNodeStore}} providing 
implementations for those.
* The {{SegmentNodeStore#getReferenceBlobIterator}} provides an iterator that 
uses the {{SegmentTracker#collectBlobReferences}] method to return an iterator 
over all external references. The question is whether this would still be OK 
for blob heavy use cases i.e. when there are a huge number of external 
references? 

[~jukkaz], [~tmueller] 
If the approach sounds ok, then I can implement the change along with changes 
for OAK-1582.

> Expose BlobGCMBean for supported NodeStores
> -------------------------------------------
>
>                 Key: OAK-1559
>                 URL: https://issues.apache.org/jira/browse/OAK-1559
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: mongomk, segmentmk
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 0.20
>
>
> {{NodeStore}} implementations should expose the {{BlobGCMBean}} in order to 
> be interoperable with {{RepositoryManagementMBean}}. See OAK-1160.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to