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: [MongoMK] flag document with children
Date Thu, 24 Oct 2013 08:12:59 GMT
> The disadvantage is, when a node is added, either:
> - then the parent needs to be checked whether is already has this flag set
> (if it is in the cache), or

I'd say a parent node is likely in the cache because oak will read it first before
it is able to add a child.

> - the parent needs to be updated to set the flag

that's correct. though you only have to do it when it isn't set already. and
the check should be cheap in most cases, because the node is in the cache.


View raw message