[SERVER-39270] Allow top-level $lookup stages to run in parallel on multiple shards Created: 29/Jan/19  Updated: 29/Oct/23  Resolved: 02/Jul/21

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Ian Boros Assignee: Katherine Wu (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-39016 Make sharded $lookup queries run on n... Closed
Related
is related to SERVER-39179 Confirm that aggregate command commen... Closed
is related to SERVER-58208 Allow top-level $graphLookup stages t... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query Optimization 2021-06-14, Query Optimization 2021-06-28, Query Optimization 2021-07-12
Participants:

 Description   

This will involve changing the 'distributedPlanLogic()' for DocumentSourceLookup. Note that only top-level $lookups should be allowed to run in parallel, and any nested $lookup stages in the pipeline should remain on the "merging" half of the pipeline and be run serially.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 02/Jul/21 ]

Author:

{'name': 'Katherine Wu', 'email': 'katherine.wu@mongodb.com', 'username': 'kaywux'}

Message: SERVER-39270 Allow top-level $lookup stages to run in parallel on multiple shards
Branch: master
https://github.com/mongodb/mongo/commit/1345730e6ceaa7ef0a7b3f3fd3059d53be33deec

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