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

TinkerGraphComputer worker count affects OptionalStep query results

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.3.8, 3.4.3, 3.5.0
    • process
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: