Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-46890

Avoid attaching cursor/mergeCursor stage twice in $unionWith explain

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0-rc0, 4.5.1
    • Component/s: None
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Steps To Reproduce:
      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}})
    • Sprint:
      Query 2020-03-23
    • Linked BF Score:
      17

      Attachments

        Activity

          People

          Assignee:
          ted.tuckman Ted Tuckman
          Reporter:
          ted.tuckman Ted Tuckman
          Participants:
          Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

            Dates

            Created:
            Updated:
            Resolved: