Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
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
- documents
-
SERVER-36100 Allow missing "_id" from extracted unique key in a $out pipeline
-
- Closed
-
- related to
-
DOCS-12028 New syntax for $out aggregation stage
-
- Closed
-