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/31 22:18:39 UTC

[jira] [Issue Comment Deleted] (OAK-3959) RDBDocumentStore: always upsert in the bulk updates

     [ https://issues.apache.org/jira/browse/OAK-3959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomek Rękawek updated OAK-3959:
-------------------------------
    Comment: was deleted

(was: 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)