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 "Stefan Eissing (JIRA)" <ji...@apache.org> on 2017/01/19 13:08:26 UTC

[jira] [Comment Edited] (OAK-4780) VersionGarbageCollector should be able to run incrementally

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

Stefan Eissing edited comment on OAK-4780 at 1/19/17 1:07 PM:
--------------------------------------------------------------

Changes in leafnodes-v3.diff:
# removed System.err.println()
# using google collection contstructors
# changed empty check on split docs
# fixed bug in counting leaf deletes
# added test assertions to almost all VGC test cases in oak-core


was (Author: stefan.eissing):
Changes:
# removed System.err.println()
# using google collection contstructors
# changed empty check on split docs
# fixed bug in counting leaf deletes
# added test assertions to almost all VGC test cases in oak-core

> VersionGarbageCollector should be able to run incrementally
> -----------------------------------------------------------
>
>                 Key: OAK-4780
>                 URL: https://issues.apache.org/jira/browse/OAK-4780
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: documentmk
>            Reporter: Julian Reschke
>         Attachments: leafnodes.diff, leafnodes-v2.diff, leafnodes-v3.diff
>
>
> Right now, the documentmk's version garbage collection runs in several phases.
> It first collects the paths of candidate nodes, and only once this has been successfully finished, starts actually deleting nodes.
> This can be a problem when the regularly scheduled garbage collection is interrupted during the path collection phase, maybe due to other maintenance tasks. On the next run, the number of paths to be collected will be even bigger, thus making it even more likely to fail.
> We should think about a change in the logic that would allow the GC to run in chunks; maybe by partitioning the path space by top level directory.



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