Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13236

Investigate changes in SERVER-42137: Allow aggregation $merge stage to write to a collection that the query also reads from

      Description

      Downstream Change Summary

      This patch removes the following restrictions on $merge (both from https://docs.mongodb.com/manual/reference/operator/aggregation/merge/#merge-into):

      -The output collection cannot be the same collection as the collection being aggregated
      -The output collection cannot appear in any other stages of the pipeline

      Description of Linked Ticket

      Enable functionality to permit $out to merge/append to the aggregation source collection.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

            Assignee:
            jeffrey.allen@mongodb.com Jeffrey Allen
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              4 years, 12 weeks, 4 days ago