You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Bryn Cooke (JIRA)" <ji...@apache.org> on 2015/05/06 14:43:00 UTC
[jira] [Created] (TINKERPOP3-661) Gryo reader not working with
supportsUserSuppliedIds 'false'
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)