[SERVER-59415] Ensure subpipeline accumulators return correct results when lookup is executing on shards Created: 18/Aug/21  Updated: 29/Oct/23  Resolved: 20/Aug/21

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

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

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: QO 2021-08-23
Participants:

 Description   

When a $lookup is on the shards part of the split pipeline, the 'needsMerge' flag on the expCtx is true and is currently being passed on to the 'fromExpCtx' - causing the subpipeline to potentially return intermediary merging results.



 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 [ 19/Aug/21 ]

Author:

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

Message: SERVER-59415 Ensure subpipeline accumulators return correct results when lookup is executing on shards
Branch: master
https://github.com/mongodb/mongo/commit/24887add7b5df79aabcdd5afe8d44411c6327db0

Generated at Thu Feb 08 05:47:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.