summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands
diff options
context:
space:
mode:
authorMihai Andrei <mihai.andrei@10gen.com>2022-06-21 15:24:26 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-06-21 16:40:08 +0000
commitafc52bea57c8edb8769efa67c01ebbde5a87f50d (patch)
tree78c08e81653302171fa6b112699e106b28073248 /src/mongo/db/commands
parent14e4a3f0521a6a7c1d65b549c013a9cd1c87bfed (diff)
downloadmongo-afc52bea57c8edb8769efa67c01ebbde5a87f50d.tar.gz
SERVER-67092 Delete 'featureFlagSBEGroupPushdown' and 'featureFlagSBELookupPushdown'
Diffstat (limited to 'src/mongo/db/commands')
-rw-r--r--src/mongo/db/commands/run_aggregate.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mongo/db/commands/run_aggregate.cpp b/src/mongo/db/commands/run_aggregate.cpp
index e62aa58a35d..6230b6da99d 100644
--- a/src/mongo/db/commands/run_aggregate.cpp
+++ b/src/mongo/db/commands/run_aggregate.cpp
@@ -688,12 +688,8 @@ Status runAggregate(OperationContext* opCtx,
// Determine if this aggregation has foreign collections that the execution subsystem needs
// to be aware of.
- std::vector<NamespaceStringOrUUID> secondaryExecNssList;
-
- // Taking locks over multiple collections is not supported outside of $lookup pushdown.
- if (feature_flags::gFeatureFlagSBELookupPushdown.isEnabledAndIgnoreFCV()) {
- secondaryExecNssList = liteParsedPipeline.getForeignExecutionNamespaces();
- }
+ std::vector<NamespaceStringOrUUID> secondaryExecNssList =
+ liteParsedPipeline.getForeignExecutionNamespaces();
// The collation to use for this aggregation. boost::optional to distinguish between the case
// where the collation has not yet been resolved, and where it has been resolved to nullptr.