You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2012/05/23 13:26:40 UTC

[jira] [Resolved] (OAK-106) Use NodeStateBuilder instances to record changes in TreeImpl

     [ https://issues.apache.org/jira/browse/OAK-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Dürig resolved OAK-106.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 0.3
    
> Use NodeStateBuilder instances to record changes in TreeImpl
> ------------------------------------------------------------
>
>                 Key: OAK-106
>                 URL: https://issues.apache.org/jira/browse/OAK-106
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 0.3
>
>
> Since OAK-102 NodeStore exposes the branch feature. The initial implementation of TreeImpl on top of this eagerly writes all changes down to the NodeStoreBranch by acquiring a new NodeStateBuilder based on the current NodeState for each change. A better implementation would instead use a NodeStateBuilder per TreeImpl to accumulated the changes and only purge them down to the branch when necessary.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira