jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-1341) DocumentNodeStore: Implement revision garbage collection
Date Tue, 25 Mar 2014 08:54:47 GMT

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

Michael Dürig commented on OAK-1341:

At http://svn.apache.org/r1581278 I disabled {{org.apache.jackrabbit.oak.plugins.document.VersionGarbageCollectorTest#gcIgnoredForCheckpoint}}
as it kept failing for me.

> DocumentNodeStore: Implement revision garbage collection
> --------------------------------------------------------
>                 Key: OAK-1341
>                 URL: https://issues.apache.org/jira/browse/OAK-1341
>             Project: Jackrabbit Oak
>          Issue Type: Sub-task
>          Components: mongomk
>            Reporter: Thomas Mueller
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 0.20
> For the MongoMK (as well as for other storage engines that are based on it), garbage
collection is most easily implemented by iterating over all documents and removing unused
entries (either whole documents, or data within the document). 
> Iteration can be done in parallel (for example one process per shard), and it can be
done in any order. 
> The most efficient order is probably the id order; however, it might be better to iterate
only over documents that were not changed recently, by using the index on the "_modified"
property. That way we don't need to iterate over the whole repository over and over again,
but just over those documents that were actually changed.

This message was sent by Atlassian JIRA

View raw message