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 "Michael Dürig (JIRA)" <ji...@apache.org> on 2014/04/29 16:09:14 UTC
[jira] [Updated] (OAK-1781) Too many branch commits on document
node store
[ https://issues.apache.org/jira/browse/OAK-1781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dürig updated OAK-1781:
-------------------------------
Attachment: OAK-1781.patch
Patch that only does the purge when the underlying branch has already been created.
> Too many branch commits on document node store
> ----------------------------------------------
>
> Key: OAK-1781
> URL: https://issues.apache.org/jira/browse/OAK-1781
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: mongomk
> Reporter: Michael Dürig
> Attachments: OAK-1781.patch
>
>
> The fix for OAK-1056 introduced a regression which causes preliminary creation of the persisted branch instead of keeping changes in memory up to a certain size.
> The problem is that transient changes are [purged|https://github.com/apache/jackrabbit-oak/blob/1e4eb5f15d36922c8e6eaa8ff1316e5f512f4352/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentRootBuilder.java#L107] with every call to {{NodeBuilder.getNodeState}}. That purge is what ultimately leads to the persisted branch being created.
--
This message was sent by Atlassian JIRA
(v6.2#6252)