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 "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2016/01/28 09:28:40 UTC
[jira] [Created] (OAK-3937) Batch createOrUpdate() may fail with
primary key violation
Marcel Reutegger created OAK-3937:
-------------------------------------
Summary: Batch createOrUpdate() may fail with primary key violation
Key: OAK-3937
URL: https://issues.apache.org/jira/browse/OAK-3937
Project: Jackrabbit Oak
Issue Type: Technical task
Components: core, rdbmk
Reporter: Marcel Reutegger
In some cases the batch createOrUpdate() method may fail on RDBMK with a primary key violation exception.
{noformat}
java.lang.AssertionError: org.apache.jackrabbit.oak.plugins.document.DocumentStoreException: org.h2.jdbc.JdbcBatchUpdateException: Unique index or primary key violation: "PRIMARY_KEY_1 ON PUBLIC.DSTEST_NODES(ID) VALUES ('1:/node-40', 118)"; SQL statement:
insert into dstest_NODES(ID, MODIFIED, HASBINARY, DELETEDONCE, MODCOUNT, CMODCOUNT, DSIZE, DATA, BDATA) values (?, ?, ?, ?, ?, ?, ?, ?, ?) [23505-185]
{noformat}
See the currently disabled test {{MultiDocumentStoreTest.concurrentBatchUpdate()}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)