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 "Tomek Rękawek (JIRA)" <ji...@apache.org> on 2016/01/28 15:51:39 UTC

[jira] [Commented] (OAK-3724) Use the bulk createOrUpdate in Commit

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

Tomek Rękawek commented on OAK-3724:
------------------------------------

create() is simpler and also uses batch operations, both in Mongo and RDB.

> Use the bulk createOrUpdate in Commit
> -------------------------------------
>
>                 Key: OAK-3724
>                 URL: https://issues.apache.org/jira/browse/OAK-3724
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: documentmk
>            Reporter: Tomek Rękawek
>            Assignee: Marcel Reutegger
>            Priority: Blocker
>             Fix For: 1.4, 1.3.15
>
>         Attachments: OAK-3724-1.patch, OAK-3724.patch
>
>
> The {{DocumentStore#createOrUpdate(Collection, UpdateOp)}} method is invoked in a loop in the {{Commit#applyToDocumentStore()}}, once for each changed node. Replace it with the bulk version created in OAK-3662.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)