Andrew Zhu created ATLAS-4071:
---------------------------------

             Summary: Fail to delete typedefs
                 Key: ATLAS-4071
                 URL: https://issues.apache.org/jira/browse/ATLAS-4071
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
    Affects Versions: 2.1.0
            Reporter: Andrew Zhu
         Attachments: cycleTypedefs.json

Here test a typedefs api with cycle relationship, and create the typedefs 
successfully, but failed to delete it withing blow exception.

Caused by: java.lang.IllegalArgumentException: Multiple entries with same key: 
Vertex1.Vertex1_code=org.janusgraph.diskstorage.indexing.StandardKeyInformation@123644b5
 and 
Vertex1.Vertex1_code=org.janusgraph.diskstorage.indexing.StandardKeyInformation@1ad82f5fCaused
 by: java.lang.IllegalArgumentException: Multiple entries with same key: 
Vertex1.Vertex1_code=org.janusgraph.diskstorage.indexing.StandardKeyInformation@123644b5
 and 
Vertex1.Vertex1_code=org.janusgraph.diskstorage.indexing.StandardKeyInformation@1ad82f5f
 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)
 ... 100 more



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to