This is meant to be a targeted improvement specific to $lookup, though depending on the implementation it could affect other commands which use sharded_agg_helpers::attachCursorToPipeline, similar to SERVER-58376. When this work is done, we would expect to see improvement especially for $lookups where the local and foreign data is co-located (see workloads from PERF-4152)
- causes
-
SERVER-81335 Query operations that avoid going through the network when a shard is targeting only itself should create a fresh operation context
- Open
-
SERVER-80194 In sharded_agg_helpers.cpp we retrieve CollectionRoutingInfo without checking for transaction
- Closed
-
SERVER-80341 sharded_agg_helpers::attachCursorToPipeline should not attach dbVersion when targeting local shard by routing table
- Closed
- is duplicated by
-
SERVER-75294 Investigate slowness of sharded $lookup
- Closed
- related to
-
SERVER-75294 Investigate slowness of sharded $lookup
- Closed