[SERVER-70353] Support fast path projection for exclusion projection executor Created: 07/Oct/22  Updated: 29/Oct/23  Resolved: 15/Nov/22

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

Type: Improvement Priority: Major - P3
Reporter: Ivan Fefer Assignee: Ivan Fefer
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-70993 Create new multiversion base suites f... Closed
Problem/Incident
Related
is related to SERVER-61284 $project to exclude an array is expen... Closed
Backwards Compatibility: Fully Compatible
Sprint: QE 2022-10-31, QE 2022-11-14, QE 2022-11-28
Participants:
Linked BF Score: 35

 Description   

Inclusion projection executor has FastPathEligibleInclusionNode: https://github.com/mongodb/mongo/blob/39a79c12b930b7adc5fe2872e482f9e483121dcf/src/mongo/db/exec/inclusion_projection_executor.cpp#L38

We should implement similar optimization for exclusion projection executor.



 Comments   
Comment by Githook User [ 15/Nov/22 ]

Author:

{'name': 'Ivan Fefer', 'email': 'ivan.fefer@mongodb.com', 'username': 'Fefer-Ivan'}

Message: SERVER-70353 Implement fast path projection node to support exclusion
Branch: master
https://github.com/mongodb/mongo/commit/55b79109bc21b54c629ef2489f02f10c9c1db4c0

Comment by Githook User [ 01/Nov/22 ]

Author:

{'name': 'Ivan Fefer', 'email': 'ivan.fefer@mongodb.com', 'username': 'Fefer-Ivan'}

Message: SERVER-70353 Support internalQueryDisableExclusionProjectionFastPath in MongoRunner
Branch: master
https://github.com/mongodb/mongo/commit/cf29222954d357ee1848798e66d5ad859f442c87

Comment by Githook User [ 01/Nov/22 ]

Author:

{'name': 'Ivan Fefer', 'email': 'ivan.fefer@mongodb.com', 'username': 'Fefer-Ivan'}

Message: SERVER-70353 Add internalQueryDisableExclusionProjectionFastPath to support jstestfuzz
Branch: master
https://github.com/mongodb/mongo/commit/4eb04db31d6faee8904728aed0a7816bd391ed95

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