[DOCS-12017] Docs for SERVER-36100: Allow missing "_id" from extracted unique key in a $out pipeline Created: 04/Sep/18  Updated: 13/Nov/23  Resolved: 01/Oct/18

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.1.3, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-36100 Allow missing "_id" from extracted un... Closed
Related
related to DOCS-12028 New syntax for $out aggregation stage Closed
Participants:
Days since reply: 5 years, 23 weeks, 1 day ago
Epic Link: DOCS: 4.2 Server/Tools

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


Generated at Thu Feb 08 08:04:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.