Description
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.
Attachments
Attachments
Issue Links
- is a clone of
-
OAK-3937 Batch createOrUpdate() may fail with primary key violation
- Closed