From oak-issues-return-15673-apmail-jackrabbit-oak-issues-archive=jackrabbit.apache.org@jackrabbit.apache.org Mon Mar 9 09:37:42 2015 Return-Path: X-Original-To: apmail-jackrabbit-oak-issues-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F41BD17C17 for ; Mon, 9 Mar 2015 09:37:41 +0000 (UTC) Received: (qmail 73454 invoked by uid 500); 9 Mar 2015 09:37:38 -0000 Delivered-To: apmail-jackrabbit-oak-issues-archive@jackrabbit.apache.org Received: (qmail 73420 invoked by uid 500); 9 Mar 2015 09:37:38 -0000 Mailing-List: contact oak-issues-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-issues@jackrabbit.apache.org Received: (qmail 73409 invoked by uid 99); 9 Mar 2015 09:37:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Mar 2015 09:37:38 +0000 Date: Mon, 9 Mar 2015 09:37:38 +0000 (UTC) From: =?utf-8?Q?Michael_D=C3=BCrig_=28JIRA=29?= To: oak-issues@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (OAK-2586) Support including and excluding paths during upgrade MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OAK-2586?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D143527= 17#comment-14352717 ]=20 Michael D=C3=BCrig commented on OAK-2586: ------------------------------------ It might not be too bad as {{JackrabbitNodeState}} doesn't have an optimise= d {{equals}} implementation neither. But we should definitely benchmark it = against the current implementation with a large repository.=20 > 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 repositor= y. Not least because this can (drastically) reduce the amount of content th= at needs to be traversed, copied and indexed. > I suggest to allow filtering the content visible from the source reposito= ry by wrapping the JackrabbitNodeState instance and hiding selected paths. -- This message was sent by Atlassian JIRA (v6.3.4#6332)