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

    XMLWordPrintableJSON

Details

    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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 23 weeks, 1 day ago