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 "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2014/11/14 16:09:34 UTC

[jira] [Updated] (OAK-2271) Compaction estimation time should not depend on number of checkpoints

     [ https://issues.apache.org/jira/browse/OAK-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Parvulescu updated OAK-2271:
---------------------------------
    Attachment: OAK-2271.patch

proposed patch

> Compaction estimation time should not depend on number of checkpoints
> ---------------------------------------------------------------------
>
>                 Key: OAK-2271
>                 URL: https://issues.apache.org/jira/browse/OAK-2271
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: Alex Parvulescu
>            Assignee: Alex Parvulescu
>         Attachments: OAK-2271.patch
>
>
> Checkpoints can be seen as unix symlinks. The compaction estimation will blindly follow those links when computing the set of bulk segments that are in-use. 
> For example, when there are 1.9k checkpoints, the estimator will have to traverse the same repo 1.9k times to determine this set, even though it falls onto already traversed paths. 
> This is also misleading for debugging, it all looks like it's loading segments while estimating.



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