[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:
Depends
depends on SERVER-35896 Support "replaceDocuments" mode in $out Closed
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.

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