jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Sedding (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-3163) Improve binary comparison during repeated upgrades
Date Wed, 29 Jul 2015 12:42:04 GMT

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

Julian Sedding updated OAK-3163:
    Attachment: OAK-3163.patch

Attached patch that leverages the content-identity comparison in {{AbstractBlob#equal}}. This
speeds up comparison of binaries and thus the upgrade of repositories with a significant amount
of binaries.

> Improve binary comparison during repeated upgrades
> --------------------------------------------------
>                 Key: OAK-3163
>                 URL: https://issues.apache.org/jira/browse/OAK-3163
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: upgrade
>    Affects Versions: 1.2.3, 1.3.3
>            Reporter: Julian Sedding
>              Labels: performance
>         Attachments: OAK-3163.patch
> OAK-2619 introduced the possibility to run the same upgrade repeatedly and achieve incremental
upgrades. This reduces the time taken for {{CommitHook}} processing, because the diff is reduced.
> However, for incremental upgrades to be really useful, the content-copy phase needs to
be fast. Currently an optimization that was proposed in OAK-2626 was lost due to the implementation
of a better solution to some part of the problem. 

This message was sent by Atlassian JIRA

View raw message