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

Marcel Reutegger commented on OAK-565:
--------------------------------------

I just realized that the current discussion diverted quite a bit from the 
original subject.

I will create a separeate issue about the usage of headRevId and in this issue 
we can focus on readExistingNodes/mergeNodes in CommitCommand.
                
> CommitCommand readExistingNodes/mergeNodes called unnecessarily
> ---------------------------------------------------------------
>
>                 Key: OAK-565
>                 URL: https://issues.apache.org/jira/browse/OAK-565
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: mongomk
>            Reporter: Mete Atamel
>            Assignee: Mete Atamel
>            Priority: Minor
>         Attachments: commitcommandoptimization.patch
>
>
> CommitCommand/CommitCommandNew calls readExistingNodes and mergeNodes all the 
> time. Instead, it should only call these methods when the base revision id is 
> less than the head revision.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to