You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "stephen mallette (JIRA)" <ji...@apache.org> on 2017/04/06 16:57:41 UTC
[jira] [Closed] (TINKERPOP-1572) Impossible to get DetachedVertex
when Connecting via withRemote
[ https://issues.apache.org/jira/browse/TINKERPOP-1572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stephen mallette closed TINKERPOP-1572.
---------------------------------------
Resolution: Duplicate
Closing this as a duplicate of TINKERPOP-1592 - this is all basically about getting properties to graph elements as i understand it. if i'm missing something please feel free to re-open and clarify.
> Impossible to get DetachedVertex when Connecting via withRemote
> ----------------------------------------------------------------
>
> Key: TINKERPOP-1572
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1572
> Project: TinkerPop
> Issue Type: Improvement
> Components: server
> Affects Versions: 3.2.0-incubating, 3.2.3
> Reporter: Robert Dale
> Assignee: stephen mallette
> Priority: Minor
>
> 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.15#6346)