Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1619

TinkerGraphComputer worker count affects OptionalStep query results

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.3.8, 3.4.3, 3.5.0
    • Component/s: process
    • Labels:
      None

      Description

      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.

      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]
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                spmallette Stephen Mallette
                Reporter:
                twilmes Ted Wilmes
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: