You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Amit Jain (JIRA)" <ji...@apache.org> on 2018/08/30 10:25:00 UTC

[jira] [Commented] (OAK-7722) Support collectBlobReferences in ReadOnlyFileStore

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

Amit Jain commented on OAK-7722:
--------------------------------

[~frm], [~mduerig] Would something like this work - [^OAK-7722.patch]? My limited tests with [https://github.com/apache/jackrabbit-oak/blob/trunk/oak-run/src/test/java/org/apache/jackrabbit/oak/run/DataStoreCommandTest.java] are good.

> Support collectBlobReferences in ReadOnlyFileStore
> --------------------------------------------------
>
>                 Key: OAK-7722
>                 URL: https://issues.apache.org/jira/browse/OAK-7722
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segment-tar
>            Reporter: Amit Jain
>            Priority: Major
>             Fix For: 1.10
>
>         Attachments: OAK-7722.patch
>
>
> Currently, to collect all external blob references for the {{Mark}} phase of DSGC, we need to open the segment store in a read-write mode i.e. use FileStore instead of a ReadOnlyFileStore. The task is to implement the \{{collectBlobReferences}} method in the \{{ReadOnlyFileStore}}.
> The references being returned might be somewhat stale in this case but by not much.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)