Avoid attaching cursor/mergeCursor stage twice in $unionWith explain

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.4.0-rc0, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • v4.4
    • Hide

      run the following: db.runCommand({explain: {aggregate: "coll", pipeline: [{$unionWith: "coll_2"}], cursor:

      {batchSize: 101}

      , allowDiskUse: true}})

      Show
      run the following: db.runCommand({explain: {aggregate: "coll", pipeline: [{$unionWith: "coll_2"}] , cursor: {batchSize: 101} , allowDiskUse: true}})
    • Query 2020-03-23
    • 17
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

          Assignee:
          Ted Tuckman
          Reporter:
          Ted Tuckman
          Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

            Created:
            Updated:
            Resolved: