-
Type: Improvement
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Querying
-
None
-
Query Optimization 2021-07-26
After SERVER-38728, when a $lookup query is run on a mongod, and the collection is unsharded, we'll assume that we can get the correct results by doing a local read. However, if the mongod is not the primary shard, this will lead to us returning incorrect (empty) results. Instead, we should add logic to send the query to the primary shard.
- depends on
-
SERVER-38728 Allow pipeline with $lookup into a sharded collection to run on mongod
- Closed
- is depended on by
-
SERVER-39179 Confirm that aggregate command comment is propagated by sharded $lookup / $graphLookup
- Closed
-
SERVER-39270 Allow top-level $lookup stages to run in parallel on multiple shards
- Closed
- related to
-
SERVER-58445 Complete TODO listed in SERVER-39016
- Closed