[SERVER-72549] Remove feature flag uses by this project (i.e. enable feature all the time) Created: 05/Jan/23  Updated: 06/Nov/23  Resolved: 06/Nov/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: PM Bot Assignee: Justin Seyster
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Assigned Teams:
Query Execution
Backwards Compatibility: Fully Compatible
Sprint: QE 2023-11-13
Participants:
Linked BF Score: 120

 Description   

Enable the feature flag for this project.



 Comments   
Comment by Githook User [ 03/Nov/23 ]

Author:

{'name': 'Justin Seyster', 'email': 'justin.seyster@mongodb.com', 'username': 'jseyster'}

Message: SERVER-72549 Enable SBE for $match, $project, $addFields, $sort, $limit, $skip, and $replaceRoot by default
Branch: master
https://github.com/mongodb/mongo/commit/f8d41b0b0057450b5560c4c9be58671f2e050e52

Comment by Kevin Cherkauer [ 23/Jun/23 ]

This project reuses the featureFlagSbeFull feature flag instead of creating its own. We should thus mark all of this project's uses with comments like

// TODO SERVER-72549: Remove use of featureFlagSbeFull by SBE Pushdown feature.

This ticket is to remove the uses of this feature flag by this project, which will enable the feature all the time. This includes removing it from both product and test code (C++ and JavaScript).

C++ code example:

// TODO SERVER-72549: Remove use of featureFlagSbeFull by SBE Pushdown feature.
// (Ignore FCV check): This is intentional because we always want to use this feature when
// the feature flag is enabled.
if (feature_flags::gFeatureFlagSbeFull.isEnabledAndIgnoreFCVUnsafe()) {

JavaScript code example:

// TODO SERVER-72549: Remove use of featureFlagSbeFull by SBE Pushdown feature.
if (checkSBEEnabled(db, ["featureFlagSbeFull"])) {

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