jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Updated] (OAK-6066) Migration of binaries relies on implementation details of the TarMK
Date Mon, 13 Nov 2017 07:42:00 GMT

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

Michael Dürig updated OAK-6066:
-------------------------------
    Labels: migration tooling  (was: migration)

> Migration of binaries relies on implementation details of the TarMK
> -------------------------------------------------------------------
>
>                 Key: OAK-6066
>                 URL: https://issues.apache.org/jira/browse/OAK-6066
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: upgrade
>            Reporter: Michael Dürig
>              Labels: migration, tooling
>             Fix For: 1.8
>
>         Attachments: OAK_6066.patch
>
>
> This was uncovered with the work on OAK-6051.
> On {{NodeStore.merge()}} the TarMK uses {{SegmentNodeState#fastEquals}} to efficiently
determine whether there is something to commit and whether the base state changed since the
builder about to commit was acquired. For efficiency reasons {{fastEquals}} can return "false
negatives". AFAIU migration of binaries depends on this implementation detail because without
this optimisation migration fails. ({{SegmentToExternalMigrationTest}} and {{ExternalToExternalMigrationTest}}
fail). 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message