diff options
author | Mihai Andrei <mihai.andrei@10gen.com> | 2022-04-12 20:00:34 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-04-13 00:38:52 +0000 |
commit | c106139f4d890a0d6e773570f813debf86b7031f (patch) | |
tree | 1c16be206e9ed17b17c235b9c1bb5d2af35cef06 /src/mongo/db/commands/run_aggregate.cpp | |
parent | 84467ea62f22f10137fa919a4c019afbac6ac63b (diff) | |
download | mongo-c106139f4d890a0d6e773570f813debf86b7031f.tar.gz |
SERVER-64722 Adjust expected top count in profile_lookup.js depending on status of pushed down $lookup
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(); } |