[
https://issues.apache.org/jira/browse/OAK-4308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tomek Rękawek resolved OAK-4308.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.5.2
> Align the UpgradeTest#upgradeFrom10 to oak-segment-next
> -------------------------------------------------------
>
> Key: OAK-4308
> URL: https://issues.apache.org/jira/browse/OAK-4308
> Project: Jackrabbit Oak
> Issue Type: Task
> Components: jcr, segment-next
> Reporter: Tomek Rękawek
> Priority: Minor
> Labels: migration, upgrade
> Fix For: 1.6, 1.5.2
>
>
> Test case {{UpgradeTest#upgradeFrom10}} in the {{oak-jcr}} module unpacks an
> archived TarMK repository in the Oak 1.0 format and tries to run the current
> oak-segment on top on that. It also validates whether all the data are in
> place.
> This works, because the oak-segment code automatically detects the old
> repository format and upgrades it in-place, without any user action.
> However, after changing this test to use the oak-segment-next it'll break,
> because the upgrade path for the new repository code is more complex - it
> requires invoking the oak-upgrade manually, to sidegrade the data (as in
> OAK-4260).
> We should move this test to the oak-upgrade module and modify it a bit, so
> the data are sidegraded before the repository is validated.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)