[
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-2.patch
The OAK-3724-2.patch contains my proposal for an implementation of this issue.
As mentioned before it replaces the combination of create() and
createOrUpdate() with a single batch createOrUpdate() call.
[~tomek.rekawek], WDYT?
> 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-2.patch, OAK-3724.patch,
> deadlock.txt
>
>
> 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)