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: Package deployment check for locking leading to large no of small branch commits
Date Wed, 18 Dec 2013 08:20:11 GMT
Hi,

> Purging (should) only happen for refresh calls with the keepChanges
> parameter set to true. This might be optimised however for the case
> where the persisted branch has not yet been created (i.e.
> org.apache.jackrabbit.oak.spi.state.AbstractNodeStoreBranch.InMemory) by
> tweaking the way (Kernel|Mongo)NodeStoreBranch and
> (Kernel|Mongo)RootBuilder interact.

in the case described by Chetan the branch state is persisted pretty
quickly because the package install consists of many nodes. the
question is rather if there is a way to optimize the case when the
branch state is persisted with in-memory changes on top of it
and a refresh with keepChanges comes in.

Regards
 Marcel

Mime
View raw message