On 29.11.2012, at 15:11, Marcel Reutegger <mreut...@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

Reply via email to