jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@adobe.com>
Subject Re: Oak & JCR versioning
Date Thu, 29 Nov 2012 16:13:49 GMT
On 29.11.2012, at 15:11, Marcel Reutegger <mreutegg@adobe.com> wrote:

> - the version store is mounted at the NodeState level. this has the
> advantage of being easier to implement, because the API is rather
> small. it would also allow us to enforce write protection on the version
> store by exposing it read-only at this location.
> 
> - the version store is mounted on a higher level. that is, oak-jcr is
> responsible for constructing the node tree correctly as required
> by the JCR spec. this way it might be easier to separate JCR concerns
> from oak core and keep the latter as simple as possible.

With my distant, high-level view on this, I'd definitely opt for the second option. While
versioning might be efficiently built into the deeper persistence layers, the specific jcr
versioning model(s) should not bloat oak right from the beginning and rather sit separate
on top.

my 2 cents,
Alex
Mime
View raw message