Robert Dale created TINKERPOP-1572:
--------------------------------------
Summary: Impossible to get DetachedVertex when Connecting via
withRemote
Key: TINKERPOP-1572
URL: https://issues.apache.org/jira/browse/TINKERPOP-1572
Project: TinkerPop
Issue Type: Bug
Components: server
Affects Versions: 3.2.0-incubating
Reporter: Robert Dale
Assignee: stephen mallette
Problem:
Using gremlin-console:
{noformat}
gremlin> graph = EmptyGraph.instance()
==>emptygraph[empty]
gremlin> g = graph.traversal().withRemote('conf/remote-graph.properties')
==>graphtraversalsource[emptygraph[empty], standard]
gremlin> g.addV('foo').property('key','value')
==>v[0]
gremlin> g.V().next().getClass()
==>class org.apache.tinkerpop.gremlin.structure.util.reference.ReferenceVertex
{noformat}
Works when is.testing=true
{noformat}
export JAVA_OPTIONS="-Dis.testing=true"
# restart server
# repeat above test, result is:
gremlin> g.V().next().getClass()
==>class org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex
{noformat}
Appears to be a condition in
org.apache.tinkerpop.gremlin.server.util.TraverserIterator
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)