[SERVER-79007] Merge codepaths for constructing a ShardFiltererImpl for CQF Created: 17/Jul/23  Updated: 29/Oct/23  Resolved: 23/Aug/23

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

Type: Task Priority: Minor - P4
Reporter: Richard Hausman (Inactive) Assignee: Ben Shteinfeld
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Optimization
Backwards Compatibility: Fully Compatible
Sprint: QO 2023-07-24, QO 2023-08-07, QO 2023-08-21, QO 2023-09-04
Participants:

 Description   

Pending completion of SERVER-78144, Bonsai and Stage Builders will each have a different method of populating the shardFilterer slot in the runtime environment before executing an SBE plan. The latter uses a MultipleCollectionAccessor, whereas the former does not have one and does not support that functionality. As part of CQF, these two methods/code paths for constructing the shard filterer should be merged.

Relevant files include:

cqf_get_executor.cpp

sbe_stage_builder.cpp



 Comments   
Comment by Githook User [ 23/Aug/23 ]

Author:

{'name': 'Ben Shteinfeld', 'email': 'ben.shteinfeld@mongodb.com', 'username': 'bshteinfeld'}

Message: SERVER-79007 Merge codepaths for constructing ShardFilterer

This commit removes duplicate code that is now shared between the SBE
stage builders and Bonsai codepaths for constructing a ShardFilterer and
populating it in a global slot.
Branch: master
https://github.com/mongodb/mongo/commit/99e6842bd95700a29f5db187bb9caed14252c66b

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