jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomek Rękawek (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-5030) Copying the versions store is slow and increase the repository size
Date Wed, 02 Nov 2016 08:03:58 GMT

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

Tomek Rękawek commented on OAK-5030:

Fixed for trunk in [r1767612|https://svn.apache.org/r1767612].

For me, the lesson learnt here is that calling NodeBuilder#getNodeStore() is not a transparent
operation and can be very expensive. We have to duplicate various utilities methods, so they
can accept both builder and node state (rather than calling getNodeState() on a builder).

> Copying the versions store is slow and increase the repository size
> -------------------------------------------------------------------
>                 Key: OAK-5030
>                 URL: https://issues.apache.org/jira/browse/OAK-5030
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: upgrade
>            Reporter: Michael Dürig
>            Assignee: Tomek Rękawek
>              Labels: perfomance
>             Fix For: 1.6, 1.5.13
>         Attachments: OAK-5030-2.patch, OAK-5030.patch
> This is a follow up to OAK-4970: when defining an workspace name that doesn't match the
name of the workspace of the source repository (via the {{WORKSPACE_NAME_PROP}} system property),
upgrading is still very slow and causes the repository size to grow way too much. 

This message was sent by Atlassian JIRA

View raw message