ERROR: Could not commit transaction due to exception during persistence


Gaurav Sehgal <gaurav.s...@...>
 

```
Caused by: java.lang.IllegalArgumentException: Multiple entries with same key: Completeness_metric.Status=org.janusgraph.diskstorage.indexing.StandardKeyInformation@6bf65470 and Completeness_metric.Status=org.janusgraph.diskstorage.indexing.StandardKeyInformation@75c435b8
at com.google.common.collect.ImmutableMap.conflictException(ImmutableMap.java:215)
at com.google.common.collect.ImmutableMap.checkNoConflict(ImmutableMap.java:209)
at com.google.common.collect.RegularImmutableMap.checkNoConflictInKeyBucket(RegularImmutableMap.java:147)
at com.google.common.collect.RegularImmutableMap.fromEntryArray(RegularImmutableMap.java:110)
at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:393)
at org.janusgraph.graphdb.database.IndexSerializer$IndexInfoRetriever$1.get(IndexSerializer.java:165)
at org.janusgraph.diskstorage.indexing.IndexTransaction.getIndexMutation(IndexTransaction.java:82)
at org.janusgraph.diskstorage.indexing.IndexTransaction.delete(IndexTransaction.java:75)
at org.janusgraph.graphdb.database.StandardJanusGraph.prepareCommit(StandardJanusGraph.java:649)
at org.janusgraph.graphdb.database.StandardJanusGraph.commit(StandardJanusGraph.java:731)
at org.janusgraph.graphdb.transaction.StandardJanusGraphTx.commit(StandardJanusGraphTx.java:1425)
```

Hello Everyone! We are getting this error consistently on our production instance. At first, we thought it was something related to concurrent transactions but looks like it is not as we are unable to reproduce this. Now we are not really sure what could be the other possible situations where this error could arise. Really appreciate someone's help here.

Janusgraph: v0.5.1
ES: v7.6.2
Cassandra: v3.11.0

Thanks

Join janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.