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

Chetan Mehrotra commented on OAK-5791:
--------------------------------------

Added testcase in 1784166

Here the commit root is being set to /a while child node is added to /a/b 
(where /a/b exist). This can be avoided and commit root can remain /a/b and 
then with OAK-5788 it should be fixed

{noformat}
createOrUpdate (multi) [key: 3:/a/b/c new {_modified=MAX 1487866725, 
_commitRoot.r15a6bc48807-0-1=SET_MAP_ENTRY 1, 
_deleted.r15a6bc48807-0-1=SET_MAP_ENTRY false}, key: 2:/a/b update 
{_modified=MAX 1487866725, _children=SET true, 
_commitRoot.r15a6bc48807-0-1=SET_MAP_ENTRY 1}]
findAndUpdate key: 1:/a update {_revisions.r15a6bc48807-0-1=SET_MAP_ENTRY c, 
_modified=MAX 1487866725} conditions {_collisions.r15a6bc48807-0-1=EXISTS false}

{noformat}

> Reduce number of calls while adding a new node 
> -----------------------------------------------
>
>                 Key: OAK-5791
>                 URL: https://issues.apache.org/jira/browse/OAK-5791
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: documentmk
>            Reporter: Chetan Mehrotra
>             Fix For: 1.8
>
>
> Adding a new child node currently takes 2 remote calls. We should look into 
> reducing this to 1



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to