You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2019/07/15 10:53:00 UTC

[jira] [Updated] (OAK-5112) oak-upgrade breaking versionStorage node when started with copy-versions=false

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

Julian Reschke updated OAK-5112:
--------------------------------
    Description: 
The attempt to sidegrade a repository and only keep the versionStorage of certain paths failed with a broken /jcr:system/jcr:versionStorage node when applying the following sequence:
{code}
java -jar oak-upgrade-1.6-SNAPSHOT.jar repository repository-temp  --copy-versions=false
java -jar oak-upgrade-1.6-SNAPSHOT.jar repository repository-temp  --copy-versions=true --include-paths=/path/requiring/versions
{code}
After first and second attempt the versionStorage node exists but has no primaryType. Startup works but fails when ever new nodes would be created underneath jcr:versionStorage.

The issue can be checked via oak-run console and running the following command
{code}
session.store.root.builder().getChildNode('jcr:system').getChildNode('jcr:versionStorage').getProperties()
{code}

//cc [~tomek.rekawek], [~alexparvulescu]

  was:
The attempt to sidegrade a repository and only keep the versionStorage of certain paths failed with a broken /jcr:system/jcr:versionStorage node when applying the following sequence:
{code}
java -jar oak-upgrade-1.6-SNAPSHOT.jar repository repository-temp  --copy-versions=false
java -jar oak-upgrade-1.6-SNAPSHOT.jar repository repository-temp  --copy-versions=true --include-paths=/path/requiring/versions
{code}
After first and second attempt the versionStorage node exists but has no primparyType. Startup works but fails when ever new nodes would be created underneath jcr:versionStorage.

The issue can be checked via oak-run console and running the following command
{code}
session.store.root.builder().getChildNode('jcr:system').getChildNode('jcr:versionStorage').getProperties()
{code}

//cc [~tomek.rekawek], [~alexparvulescu]


> oak-upgrade breaking versionStorage node when started with copy-versions=false
> ------------------------------------------------------------------------------
>
>                 Key: OAK-5112
>                 URL: https://issues.apache.org/jira/browse/OAK-5112
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: upgrade
>    Affects Versions: 1.5.13
>            Reporter: Dominik Süß
>            Assignee: Tomek Rękawek
>            Priority: Major
>             Fix For: 1.4.12, 1.5.14, 1.6.0
>
>         Attachments: OAK-5112-test.patch
>
>
> The attempt to sidegrade a repository and only keep the versionStorage of certain paths failed with a broken /jcr:system/jcr:versionStorage node when applying the following sequence:
> {code}
> java -jar oak-upgrade-1.6-SNAPSHOT.jar repository repository-temp  --copy-versions=false
> java -jar oak-upgrade-1.6-SNAPSHOT.jar repository repository-temp  --copy-versions=true --include-paths=/path/requiring/versions
> {code}
> After first and second attempt the versionStorage node exists but has no primaryType. Startup works but fails when ever new nodes would be created underneath jcr:versionStorage.
> The issue can be checked via oak-run console and running the following command
> {code}
> session.store.root.builder().getChildNode('jcr:system').getChildNode('jcr:versionStorage').getProperties()
> {code}
> //cc [~tomek.rekawek], [~alexparvulescu]



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)