jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra" <tobias.bocane...@day.com>
Subject repository wide namespace indexes
Date Mon, 14 Apr 2008 05:32:25 GMT
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

View raw message