jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig <mdue...@apache.org>
Subject Re: BaseState of a Tree instance
Date Wed, 03 Apr 2013 10:26:43 GMT

On 3.4.13 9:15, Angela Schreiber wrote:
> hi
> while taking a closer look at the base state associated with a TreeImpl
> i got the impression at the same base NodeState is also available from
> the NodeBuilder associated with the tree.
> if this was really the case: what is the reason for keeping it twice?

Yes this is something we need to clarify further. But AFAICS currently 
the purge logic is in the way since it causes the two base states to 
diverge. See also OAK-659 which is about moving that logic down below 
the NodeBuilder interface. It's not clear to me how to do that though 
since we don't have the information about the transient moves at that 
level and restoring it from looking at the content diffs doesn't work as 
discussed several times before.


> regards
> angela

View raw message