[SERVER-36100] Allow missing "_id" from extracted unique key in a $out pipeline Created: 12/Jul/18 Updated: 29/Oct/23 Resolved: 30/Aug/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.3 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Nicholas Zolnierz | Assignee: | Kyle Suarez |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Major Change | ||||||||||||||||||||||||
| Sprint: | Query 2018-07-30, Query 2018-08-13, Query 2018-08-27, Query 2018-09-10 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| 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 |
| Comments |
| Comment by Githook User [ 30/Aug/18 ] |
|
Author: {'name': 'Kyle Suarez', 'email': 'kyle.suarez@mongodb.com', 'username': 'ksuarz'}Message: If the _id field is part of the $out "uniqueKey" but is not present in We won't generate an _id if if isn't part of the "uniqueKey" so that |