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

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

Patch attached.

> RDBDocumentStore: always upsert in the bulk updates
> ---------------------------------------------------
>
>                 Key: OAK-3959
>                 URL: https://issues.apache.org/jira/browse/OAK-3959
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: rdbmk
>            Reporter: Tomek Rękawek
>             Fix For: 1.4
>
>         Attachments: OAK-3959.patch
>
>
> In PostgreSQL, if we try to insert two documents with the same ID 
> concurrently, both operations may fail (and no document is inserted). 
> Therefore we can't assume that all new documents are inserted after the first 
> round in the bulk {{RDBDocumentStore#createOrUpdate()}} - the upsert should 
> be always set to true.



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

Reply via email to