You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2014/01/14 14:28:00 UTC
[jira] [Updated] (OAK-1322) Reduce calls to MongoDB
[ https://issues.apache.org/jira/browse/OAK-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcel Reutegger updated OAK-1322:
----------------------------------
Attachment: OAK-1322-mreutegg.patch
Quite a big number of calls is made for checks whether a node already exists when the node structure is rather flat and the number of child nodes exceeds {{KernelNodeState.MAX_CHILD_NODE_NAMES}} (that's 100). With MongoMK this currently means a call is made to MongoDB to check if a node exists. Alternatively it could first check the childNodeCache and use the information there if possible. See draft patch attached.
> Reduce calls to MongoDB
> -----------------------
>
> Key: OAK-1322
> URL: https://issues.apache.org/jira/browse/OAK-1322
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core, mongomk
> Reporter: Marcel Reutegger
> Attachments: OAK-1322-mreutegg.patch
>
>
> As discussed with Chetan offline we'd like to reduce the number of calls to MongoDB when content is added to the repository with a filevault package import.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)