[SERVER-79724] Get rid of the AggregationTargeter::TargetingPolicy::kPassthrough and the entire “passthrough” code path in agg Created: 04/Aug/23  Updated: 30/Jan/24  Resolved: 07/Sep/23

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

Type: Task Priority: Major - P3
Reporter: David Storch Assignee: Mihai Andrei
Resolution: Fixed Votes: 0
Labels: pm3229-m1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Documented
is documented by DOCS-16362 [SERVER] Investigate changes in SERVE... Closed
Problem/Incident
causes NODE-5617 Fix Failing Explain Tests Closed
Related
is related to COMPASS-7603 Account for changes to sharded-cluste... Closed
Backwards Compatibility: Fully Compatible
Sprint: QE 2023-08-21, QE 2023-09-04, QE 2023-09-18
Participants:
Linked BF Score: 165

 Description   

This code path should be unnecessary if the kAnyShard code path can handle all the cases with unsharded collections and route accordingly.

  • Eliminate LiteParsedPipeline::allowedToPassthroughFromMongos() and LiteParsedDocumentSource::allowedToPassthroughFromMongos()
  • Delete runPipelineOnPrimaryShard()


 Comments   
Comment by Githook User [ 07/Sep/23 ]

Author:

{'name': 'Mihai Andrei', 'email': 'mihai.andrei@mongodb.com', 'username': 'mtandrei'}

Message: SERVER-79724 Delete 'AggregationTargeter::TargetingPolicy::kPassthrough' and the entire passthrough code path in aggregate
Branch: master
https://github.com/mongodb/mongo/commit/780b1a0262382c91402ceccfa34110651b1f10ff

Comment by Githook User [ 05/Sep/23 ]

Author:

{'name': 'Mihai Andrei', 'email': 'mihai.andrei@mongodb.com', 'username': 'mtandrei'}

Message: Revert "SERVER-79724 Delete 'AggregationTargeter::TargetingPolicy::kPassthrough' and the entire passthrough code path in aggregate"

This reverts commit cec118fc9cadfeb50a84a6954e7352e3e2614fc2.
Branch: master
https://github.com/mongodb/mongo/commit/d0c8613d726198213431b0b4eb6a986c3c38f9c7

Comment by Githook User [ 01/Sep/23 ]

Author:

{'name': 'Mihai Andrei', 'email': 'mihai.andrei@mongodb.com', 'username': 'mtandrei'}

Message: SERVER-79724 Delete 'AggregationTargeter::TargetingPolicy::kPassthrough' and the entire passthrough code path in aggregate
Branch: master
https://github.com/mongodb/mongo/commit/cec118fc9cadfeb50a84a6954e7352e3e2614fc2

Generated at Thu Feb 08 06:41:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.