[SERVER-36376] Don't extract uniqueKey from documents in $out in "insertDocuments" mode if not running in a sharded cluster Created: 31/Jul/18 Updated: 06/Dec/22 Resolved: 10/Aug/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Kyle Suarez | Assignee: | Backlog - Query Team (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Query
|
||||||||
| Participants: | |||||||||
| Description |
|
Outside of a sharded cluster, the extracted uniqueKey is only useful for "replaceDocuments" mode. We could avoid this work if in "insertDocuments" mode. |
| Comments |
| Comment by David Storch [ 10/Aug/18 ] |
|
The latest design specifies that we will always extract the uniqueKey. |