Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 82184 invoked from network); 14 Apr 2008 05:33:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Apr 2008 05:33:17 -0000 Received: (qmail 2912 invoked by uid 500); 14 Apr 2008 05:33:16 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 2883 invoked by uid 500); 14 Apr 2008 05:33:16 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 2874 invoked by uid 500); 14 Apr 2008 05:33:16 -0000 Delivered-To: apmail-incubator-jackrabbit-dev@incubator.apache.org Received: (qmail 2871 invoked by uid 99); 14 Apr 2008 05:33:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Apr 2008 22:33:16 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tripod@day.com designates 62.192.10.254 as permitted sender) Received: from [62.192.10.254] (HELO goobak01.day.com) (62.192.10.254) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2008 05:32:24 +0000 Received: by goobak01.day.com (Postfix, from userid 1212) id 3555250862; Mon, 14 Apr 2008 07:32:09 +0200 (CEST) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by goobak01.day.com (Postfix) with ESMTP id AEAC850858 for ; Mon, 14 Apr 2008 07:32:08 +0200 (CEST) Received: by wa-out-1112.google.com with SMTP id n7so2266991wag.5 for ; Sun, 13 Apr 2008 22:32:25 -0700 (PDT) Received: by 10.114.159.5 with SMTP id h5mr3143749wae.222.1208151145637; Sun, 13 Apr 2008 22:32:25 -0700 (PDT) Received: by 10.114.14.8 with HTTP; Sun, 13 Apr 2008 22:32:25 -0700 (PDT) Message-ID: Date: Sun, 13 Apr 2008 22:32:25 -0700 From: "Tobias Bocanegra" Sender: tripod@day.com To: jackrabbit-dev@incubator.apache.org Subject: repository wide namespace indexes MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 948a815c9d692976 X-Virus-Checked: Checked by ClamAV on apache.org hi, in JCR-669 we introduced a global namespace index. it is used by some persistence managers in order to keep the serialization of names small (fewer bytes). unfortunately causes the workspace data not to be isolated anymore. this can be a problem when a workspace needs to be migrated to another repository with other namespace indexes. so an easy migration is not possible unless you export/import the entire workspace using system view (which is almost impossible for huge workspaces). a similar potential problem is caused by the data store, since all workspaces share the same. so when migrating a workspace, you would need to transfer all respective records in the data store to the target repository. where as the data store problem can be solved by copying the respective items, the namespace indexes are a bigger problem, since the serialized items need to be adjusted. suggest to alter the bundle pm to use the already existing 'name index' for the namespaces as well. see https://issues.apache.org/jira/browse/JCR-1517 for a suggested patch. -- regards, toby