[ https://issues.apache.org/jira/browse/TINKERPOP-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15847118#comment-15847118 ]
Marko A. Rodriguez commented on TINKERPOP-1619: ----------------------------------------------- This makes sense. This is the problem with {{optional()}} in tp32/. It is used "twice" (once to check existence, and once to iterate results). Regarding {{master/}}, that doesn't make sense since the optional traversal of {{OptionalStep}} is a "local child." We'll figure out... > TinkerGraphComputer worker count affects OptionalStep query results > ------------------------------------------------------------------- > > Key: TINKERPOP-1619 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1619 > Project: TinkerPop > Issue Type: Bug > Components: process > Affects Versions: 3.3.0 > Reporter: Ted Wilmes > > I found that when I bump the worker count up to 4 on my local box, the dedup > nested in the optional appears to not be handled correctly. > {code} > gremlin> g = TinkerFactory.createModern().traversal() > ==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard] > gremlin> g.withComputer(Computer.compute().workers(3)).V(1, > 2).optional(bothE().dedup()) > ==>e[9][1-created->3] > ==>e[7][1-knows->2] > ==>e[8][1-knows->4] > ==>v[2] > gremlin> g.withComputer(Computer.compute().workers(4)).V(1, > 2).optional(bothE().dedup()) > ==>e[9][1-created->3] > ==>e[7][1-knows->2] > ==>e[7][1-knows->2] > ==>e[8][1-knows->4] > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)