[ https://issues.apache.org/jira/browse/OAK-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Sedding updated OAK-2626: -------------------------------- Attachment: OAK-2626.patch Patch that optimizes comparison of binaries. It turned out that retrieving the references was relatively expensive, so I worked around this using reflection and managed to reduce reference retrieval to string operations. Some test results (test setup, see OAK-2619): {noformat} Results Run 1 Run 2 (merge) With OAK-2619 1.146 min 40.50 s With patch 1.130 min 22.79 s {noformat} > Optimization binary comparison for merge during upgrade > -------------------------------------------------------- > > Key: OAK-2626 > URL: https://issues.apache.org/jira/browse/OAK-2626 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: upgrade > Affects Versions: 1.1.7 > Reporter: Julian Sedding > Priority: Minor > Attachments: OAK-2626.patch > > > In OAK-2619 I propose to support multiple upgrades into the same NodeStore. > One use-case for this feature is to import all content several days before > the upgrade and then copy only the delta on the day of the upgrade. > Assuming that both the source and target repositories use the same > FileDataStore, binaries could be efficiently compared by their references. -- This message was sent by Atlassian JIRA (v6.3.4#6332)