diff options
Diffstat (limited to 'src/mongo/db/commands/run_aggregate.cpp')
-rw-r--r-- | src/mongo/db/commands/run_aggregate.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/commands/run_aggregate.cpp b/src/mongo/db/commands/run_aggregate.cpp index 9cda7fc605e..3aca415a48b 100644 --- a/src/mongo/db/commands/run_aggregate.cpp +++ b/src/mongo/db/commands/run_aggregate.cpp @@ -684,7 +684,8 @@ 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)) { + serverGlobalParams.featureCompatibility) && + !internalQueryForceClassicEngine.load()) { secondaryExecNssList = liteParsedPipeline.getForeignExecutionNamespaces(); } |