[
https://issues.apache.org/jira/browse/OAK-3724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcel Reutegger updated OAK-3724:
----------------------------------
Attachment: OAK-3724-1.patch
Updated the patch to make sure it applies cleanly and slightly changed
Commit.checkConflicts() because ConflictException.getConflictRevisions()
guarantees a non-null return value.
Why does your patch still use store.create()? Wouldn't it be more efficient to
use the batch createOrUpdate() method for all operations?
> 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)