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/04/28 15:29:15 UTC

[jira] [Comment Edited] (OAK-1773) Optimize upgrade to DocumentNodeStore

    [ https://issues.apache.org/jira/browse/OAK-1773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13983006#comment-13983006 ] 

Marcel Reutegger edited comment on OAK-1773 at 4/28/14 1:27 PM:
----------------------------------------------------------------

In revision http://svn.apache.org/r1590628 I implemented a new flag in the DocumentMK.Builder: {{disableBranches}}. This enables a simplified branch handling, which does not purge changes of a large commit to a branch, but rather applies the changes like regular commits. The headRevision is not updated until the 'branch' is merged. From a client perspective it still looks as if one big branch is created and finally merged.


was (Author: mreutegg):
In revision http://svn.apache.org/r1590596 I implemented a new flag in the DocumentMK.Builder: {{disableBranches}}. This enables a simplified branch handling, which does not purge changes of a large commit to a branch, but rather applies the changes like regular commits. The headRevision is not updated until the 'branch' is merged. From a client perspective it still looks as if one big branch is created and finally merged.

> Optimize upgrade to DocumentNodeStore
> -------------------------------------
>
>                 Key: OAK-1773
>                 URL: https://issues.apache.org/jira/browse/OAK-1773
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core, mongomk
>    Affects Versions: 0.20
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>             Fix For: 1.1
>
>
> OAK-1772 makes sure the upgrade does not run out of memory by swapping UnsavedModifications to disk. To further minimize usage and optimize the upgrade process, we should introduce a mode for the DocumentNodeStore where it doesn't use branches for large commits. The upgrade does not have concurrent writes and the overhead of managing a branch in the DocumentNodeStore is unnecessary in this case.



--
This message was sent by Atlassian JIRA
(v6.2#6252)