Tomek Rękawek created OAK-3959: ---------------------------------- Summary: 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
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)