jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (OAK-4780) VersionGarbageCollector should be able to run incrementally
Date Wed, 29 Mar 2017 10:32:41 GMT

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

Julian Reschke edited comment on OAK-4780 at 3/29/17 10:32 AM:
---------------------------------------------------------------

I'm tracking Stefan's changes in https://github.com/reschke/jackrabbit-oak/tree/revision-garbage-collector
- where I include the RDB specific changes taken from OAK-5855.


was (Author: reschke):
I'm tracking the Stefan's changes in https://github.com/reschke/jackrabbit-oak/tree/revision-garbage-collector
- where I include the RDB specific changes taken from OAK-5855.

> 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, OAJK-4780-rdb.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.15#6346)

Mime
View raw message