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

Ensure subpipeline accumulators return correct results when lookup is executing on shards

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • QO 2021-08-23

      When a $lookup is on the shards part of the split pipeline, the 'needsMerge' flag on the expCtx is true and is currently being passed on to the 'fromExpCtx' - causing the subpipeline to potentially return intermediary merging results.

            Assignee:
            katherine.wu@mongodb.com Katherine Wu (Inactive)
            Reporter:
            katherine.wu@mongodb.com Katherine Wu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: