Daniel Kuppitz created TINKERPOP-1305:
-----------------------------------------

             Summary: HALTED_TRAVERSERS hold wrong information
                 Key: TINKERPOP-1305
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1305
             Project: TinkerPop
          Issue Type: Bug
    Affects Versions: 3.2.0-incubating
            Reporter: Daniel Kuppitz


{noformat}
gremlin> g.V().in("knows")
==>v[1]
==>v[1]
gremlin> 
g.V().in("knows").store("x").program(BulkDumperVertexProgram.build().create(graph))
==>v[1]
==>v[1]
gremlin> hdfs.head("output/~g", GryoInputFormat).each {println "" + it.id() + " 
:: " + it.property(TraversalVertexProgram.HALTED_TRAVERSERS)}
4 :: vp[gremlin.traversalVertexProgram.haltedTraversers->[v[5], v[3]]]
1 :: vp[gremlin.traversalVertexProgram.haltedTraversers->[v[3], v[2], v[4]]]
6 :: vp[gremlin.traversalVertexProgram.haltedTraversers->[v[3]]]
3 :: vp[empty]
5 :: vp[empty]
2 :: vp[empty]
{noformat}

Vertex 4 and 6 shouldn't have halted traversers, since they only have incoming 
{{created}} edges. Vertex 1 on the other hand should only hold a reference to 
{{v\[2\]}} and {{v\[4\]}}.



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

Reply via email to