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

Docs for SERVER-36100: Allow missing "_id" from extracted unique key in a $out pipeline

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.3
    • manual, Server
    • None

    Description

      Description

      Description:

      This is part of the many changes to $out in 4.2. If the "uniqueKey" includes the _id and the document is missing an _id at the time of the write in $out, we'll generate one for them automatically (the usual ObjectID).

      Engineering Ticket Description:

      If the uniqueKey contains _id, we should relax the enforcement that all fields of the unique key must be present in a given document since the update/insert should auto generate an _id for us. 

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kay.kim@mongodb.com Kay Kim (Inactive)
              Isabella Siu Isabella Siu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                4 years, 3 weeks, 5 days ago