summaryrefslogtreecommitdiff
path: root/src/mongo/db/query
diff options
context:
space:
mode:
authorJennifer Peshansky <jennifer.peshansky@mongodb.com>2021-05-28 19:33:38 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-06-08 16:00:30 +0000
commit0b133ab0345896cb2898c715428e503283515bb7 (patch)
treedc68fa515fdf701e3f733e6736faf65490923958 /src/mongo/db/query
parent2a98238a5a51521cd022a68ebfd79b5a39796b8d (diff)
downloadmongo-0b133ab0345896cb2898c715428e503283515bb7.tar.gz
SERVER-52273 Deleted feature flag for Slot-based execution
(cherry picked from commit a0615f84f20279b68cc7c0a6a2c9f298fbb0b441) (cherry picked from commit 8f850378a7e4dff72429e7a5955acab7c4ba0e55)
Diffstat (limited to 'src/mongo/db/query')
-rw-r--r--src/mongo/db/query/get_executor.cpp1
-rw-r--r--src/mongo/db/query/query_feature_flags.idl7
2 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/db/query/get_executor.cpp b/src/mongo/db/query/get_executor.cpp
index 10102f9e5ac..5c8980200f8 100644
--- a/src/mongo/db/query/get_executor.cpp
+++ b/src/mongo/db/query/get_executor.cpp
@@ -1203,7 +1203,6 @@ StatusWith<std::unique_ptr<PlanExecutor, PlanExecutor::Deleter>> getExecutor(
PlanYieldPolicy::YieldPolicy yieldPolicy,
size_t plannerOptions) {
return !canonicalQuery->getForceClassicEngine() &&
- feature_flags::gSBE.isEnabledAndIgnoreFCV() &&
isQuerySbeCompatible(opCtx, canonicalQuery.get(), plannerOptions)
? getSlotBasedExecutor(
opCtx, collection, std::move(canonicalQuery), yieldPolicy, plannerOptions)
diff --git a/src/mongo/db/query/query_feature_flags.idl b/src/mongo/db/query/query_feature_flags.idl
index 2eae47197de..63dc8c0c297 100644
--- a/src/mongo/db/query/query_feature_flags.idl
+++ b/src/mongo/db/query/query_feature_flags.idl
@@ -30,13 +30,6 @@ global:
cpp_namespace: "mongo::feature_flags"
feature_flags:
- featureFlagSBE:
- description: >-
- When set to true, SBE engine is used instead of the classic engine.
- cpp_varname: gSBE
- default: true
- version: 5.0
-
featureFlagChangeStreamsOptimization:
description: "Feature flag for enabling change streams optimization"
cpp_varname: gFeatureFlagChangeStreamsOptimization