jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From quipere <jquip...@hotmail.com>
Subject Re: Issue with versioning of cloned nodes
Date Fri, 09 Jan 2009 08:51:24 GMT

I know the versionhistory is shared over workspaces. But I like to know
whether the versionable node is copied in every workspace where it is used,
or just a ref to the node in the shared versionhistory since the data of the
node is already stored in the versionhistory. I could imagine that the node
will only be fysically copied in the workspace when it is checked out.


Alexander Klimetschek wrote:
> On Thu, Jan 8, 2009 at 6:33 PM, quipere <jquipere@hotmail.com> wrote:
>> I use a very large versionable Node "a". Which has 3 versions in
>> versionhistory (1.0, 1.1 and 1.2). When I create lets say 3 workspaces
>> which
>> all use node "a" as version 1.0, does this triple the use of disk
>> resources
>> or do these multiple workspaces just keep references to the
>> versionhistory?
>> So node "a" version 1.0 is just stored once in versionhistory and that's
>> it.
> If you copy node a into all workspaces by using clone(), they will
> share the same version history. Technically there is only one version
> storage ("workspace") for the entire repository that is shared by all
> workspaces because of that JCR feature.
> Regards,
> Alex
> -- 
> Alexander Klimetschek
> alexander.klimetschek@day.com

View this message in context: http://www.nabble.com/DM-Rule--3%3A-Workspaces-are-for-corresponding-nodes.-tp11477567p21368374.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message