jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <mreut...@adobe.com>
Subject RE: permission store & rep:modCount
Date Wed, 05 Mar 2014 09:25:16 GMT
Hi,

> FWIW DocumentNodeStore maintains a property '_modCount'  on a per node
> basis and it can possibly be exposed as part of NodeStore as a hidden property.

the _modCount is not sufficiently accurate. it does not take pending updates
of the _lastRev into account. we'd have to use DocumentNodeState#lastRevision.
this reflects the last modification on that node or some descendant node.

Regards
 Marcel

Mime
View raw message