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

    XMLWordPrintable

    Details

      Description

      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.)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                1 year, 50 weeks, 1 day ago
                Date of 1st Reply: