[SERVER-53080] Remove uassert in SlotBasedStageBuilder translation of STAGE_SHARDING_FILTER Created: 25/Nov/20  Updated: 29/Oct/23  Resolved: 12/Feb/21

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Eric Cox (Inactive) Assignee: David Storch
Resolution: Fixed Votes: 0
Labels: qexec-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query 2020-11-30, Query 2020-12-14, Query 2020-12-28, Query 2021-01-11, Query 2021-01-25, Query Execution 2021-02-22
Participants:

 Description   

Currently the SlotBasedStageBuilder only can translate QuerySolutions that have collection scans and virtual scans due to a uassert() in SlotBasedStageBuilder::buildShardFilter(). When we support covered queries and non-covered index plans we need to remove the uassert() with error codeĀ 5071201 and add tests to exercise these plans.



 Comments   
Comment by Githook User [ 12/Feb/21 ]

Author:

{'name': 'David Storch', 'email': 'david.storch@mongodb.com', 'username': 'dstorch'}

Message: SERVER-53080 generate optimized covered shard filtering plans in SBE

When the SHARDING_FILTER stage's child is an IXSCAN, we will
generate a plan where the slots built from pieces of the
IXSCAN's keys are used directly to determine the shard key.
Branch: master
https://github.com/mongodb/mongo/commit/234b3c55f416220d150c710e6caeb68391070cb5

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