[ https://issues.apache.org/jira/browse/OAK-2586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14352717#comment-14352717 ]
Michael Dürig commented on OAK-2586: ------------------------------------ It might not be too bad as {{JackrabbitNodeState}} doesn't have an optimised {{equals}} implementation neither. But we should definitely benchmark it against the current implementation with a large repository. > Support including and excluding paths during upgrade > ---------------------------------------------------- > > Key: OAK-2586 > URL: https://issues.apache.org/jira/browse/OAK-2586 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: upgrade > Affects Versions: 1.1.6 > Reporter: Julian Sedding > Labels: patch > Attachments: OAK-2586.patch > > > When upgrading a Jackrabbit 2 to an Oak repository it can be desirable to > constrain which paths/sub-trees should be copied from the source repository. > Not least because this can (drastically) reduce the amount of content that > needs to be traversed, copied and indexed. > I suggest to allow filtering the content visible from the source repository > by wrapping the JackrabbitNodeState instance and hiding selected paths. -- This message was sent by Atlassian JIRA (v6.3.4#6332)