From dev-return-17949-apmail-jackrabbit-dev-archive=jackrabbit.apache.org@jackrabbit.apache.org Wed Apr 02 23:30:57 2008 Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 48094 invoked from network); 2 Apr 2008 23:30:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Apr 2008 23:30:56 -0000 Received: (qmail 79678 invoked by uid 500); 2 Apr 2008 23:30:54 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 79610 invoked by uid 500); 2 Apr 2008 23:30:54 -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 79576 invoked by uid 99); 2 Apr 2008 23:30:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 16:30:54 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 23:30:21 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AB03C234C0B3 for ; Wed, 2 Apr 2008 16:28:25 -0700 (PDT) Message-ID: <254118579.1207178905695.JavaMail.jira@brutus> Date: Wed, 2 Apr 2008 16:28:25 -0700 (PDT) From: "Tobias Bocanegra (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Created: (JCR-1517) Global datastore and namespace index cause problems when migrating workspaces MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Global datastore and namespace index cause problems when migrating workspaces ----------------------------------------------------------------------------- Key: JCR-1517 URL: https://issues.apache.org/jira/browse/JCR-1517 Project: Jackrabbit Issue Type: Bug Components: jackrabbit-core Affects Versions: 1.4 Reporter: Tobias Bocanegra Assignee: Tobias Bocanegra Issue JCR-669 introduced a global namespace index. this is used by some persistence managers in order to keep the serialization of names small (fewer bytes). unfortunately this forms 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). another potential problem is cause by the global data store, since all workspaces share the same. so when migrating a workspace, you would need to transfer all respective records in the datastore to the target repository. where the datastore 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 'name index' for the namespaces as well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.