jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomek Rękawek (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-6638) Add a composite-prepare command in oak-run
Date Mon, 18 Sep 2017 07:52:02 GMT

    [ https://issues.apache.org/jira/browse/OAK-6638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16169710#comment-16169710

Tomek Rękawek commented on OAK-6638:

Fixed for trunk in [r1808672]. Because the checkpoints should be rewritten as well and there's
no nodestore-wide API for modifying them, I started with supporting only the segment node
store. Usually that's the kind of node store which will be used for mounts.

We can enhance the command in the future to support different stores as well.

> Add a composite-prepare command in oak-run
> ------------------------------------------
>                 Key: OAK-6638
>                 URL: https://issues.apache.org/jira/browse/OAK-6638
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: run
>            Reporter: Robert Munteanu
>            Assignee: Tomek Rękawek
>             Fix For: 1.8, 1.7.8
> With OAK-6505 we know guard against referenceable nodes placed in mounts. These are still
allowed with a WARN for certain node types, and currently we need to solve the situation of
nt:resource nodes placed underneath nt:file nodes.
> One way out of this is to use oak:Resource nodes instead of nt:resource, and the most
contained way of solving this is an oak-run command that can be used to convert certain paths
from an existing NodeStore to use this pattern.
> The invocation should be something like
> {noformat}java -jar oak-run-1.8-SNAPSHOT.jar composite-prepare {<path-to-repository>
| <mongodb-uri>} | <rdb-uri>} --paths /libs,/apps{noformat}

This message was sent by Atlassian JIRA

View raw message