Bryn Cooke created TINKERPOP3-661:
-------------------------------------

             Summary: Gryo reader not working with supportsUserSuppliedIds 
'false'
                 Key: TINKERPOP3-661
                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-661
             Project: TinkerPop 3
          Issue Type: Bug
          Components: structure
            Reporter: Bryn Cooke


When edges are added to the graph they will always create new vertices for each 
side of the edge rather than using the vertices that have been created in the 
previous phase of the read.

The problem is at:
https://github.com/apache/incubator-tinkerpop/blob/master/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/Attachable.java#L295

The edge needs to somehow use the vertex cache:
https://github.com/apache/incubator-tinkerpop/blob/master/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/gryo/GryoReader.java#L82

to give us the correct vertices.

This probably affects other reader implementations as well.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to