summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands
diff options
context:
space:
mode:
authorMihai Andrei <mihai.andrei@10gen.com>2022-04-11 11:20:28 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-04-11 20:31:20 +0000
commit71b5dc9160e28c6451b42e3fd542abc32355db86 (patch)
treed27d120e723958c4d554b1984bdce6a2428effb2 /src/mongo/db/commands
parent6d4b13ac2e199b5b9a34986e4d317fdfc695b3d4 (diff)
downloadmongo-71b5dc9160e28c6451b42e3fd542abc32355db86.tar.gz
Revert "SERVER-65338 Runtime configurable query knob to disable SBE $lookup"
This reverts commit 7ef335b60fe16e4bd846eff3c8ca2828df8af31a.
Diffstat (limited to 'src/mongo/db/commands')
-rw-r--r--src/mongo/db/commands/run_aggregate.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/commands/run_aggregate.cpp b/src/mongo/db/commands/run_aggregate.cpp
index 71356f55cda..e21bcfbffdf 100644
--- a/src/mongo/db/commands/run_aggregate.cpp
+++ b/src/mongo/db/commands/run_aggregate.cpp
@@ -71,7 +71,6 @@
#include "mongo/db/query/plan_executor_factory.h"
#include "mongo/db/query/plan_summary_stats.h"
#include "mongo/db/query/query_feature_flags_gen.h"
-#include "mongo/db/query/query_knobs_gen.h"
#include "mongo/db/query/query_planner_common.h"
#include "mongo/db/read_concern.h"
#include "mongo/db/repl/oplog.h"
@@ -675,8 +674,7 @@ Status runAggregate(OperationContext* opCtx,
// Taking locks over multiple collections is not supported outside of $lookup pushdown.
if (serverGlobalParams.featureCompatibility.isVersionInitialized() &&
feature_flags::gFeatureFlagSBELookupPushdown.isEnabled(
- serverGlobalParams.featureCompatibility) &&
- !internalQuerySlotBasedExecutionDisableLookupPushdown.load()) {
+ serverGlobalParams.featureCompatibility)) {
secondaryExecNssList = liteParsedPipeline.getForeignExecutionNamespaces();
}