[ 
https://issues.apache.org/jira/browse/TINKERPOP-1572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15705086#comment-15705086
 ] 

stephen mallette commented on TINKERPOP-1572:
---------------------------------------------

oh - you're talking about {{withRemote}} not getting detached. yeah - it's 
currently designed to go always go to a reference. you can't get detached at 
this time.

> 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)

Reply via email to