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 19:03:46 GMT
On Tue, Oct 15, 2013 at 11:53 AM, Jukka Zitting <jukka.zitting@gmail.com> wrote:
> Hi,
>
> On Tue, Oct 15, 2013 at 2:41 PM, Tobias Bocanegra <tripod@apache.org> wrote:
>> Maybe the jcr:etags need to be handled in a commit hook that also can be
>> configured to what to include in the etag-hash. for example, the
>> jcr:lastModified or jcr:created does not need to be included in the hash.
>
> Sounds good. Note that the JCR spec already defines what to include in
> the etag calculation:
> http://www.day.com/specs/jcr/2.0/3_Repository_Model.html#3.7.12%20Entity%20Tags

oh, thanks, forgot about that. so it's even easier. we just can use
the hashes of the binary properties of a node.
regards, toby

Mime
View raw message