jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Bocanegra <tri...@apache.org>
Subject Re: content hash of a tree
Date Tue, 15 Oct 2013 17:53:28 GMT
Hi,
thanks for the update.

On Tue, Oct 15, 2013 at 9:52 AM, Jukka Zitting <jukka.zitting@gmail.com>wrote:

> Hi,
>
> On Tue, Oct 15, 2013 at 1:07 AM, Tobias Bocanegra <tripod@apache.org>
> wrote:
> > hmm, that's bad. I thought this was one of the fundamental principles
> that
> > allow for quick diff/merge and help identify a commit within the MVCC
> > timeline.
>
> As mentioned by others, we actually don't need content hashes for this
> and the alternatives have better performance/scalability aspects.
>
> What's the use case you have in mind?
>
* for example for NodeTypeImpl.equals() we could just compare the "hash" of
the substree storing the node type definition.
* for example to provide jcr:etag

Regards, Toby

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message