diff options
author | Gil Alon <gil.alon@mongodb.com> | 2023-03-29 12:58:18 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-03-29 14:09:26 +0000 |
commit | 58a69ba924e2ca557bf1c208fed59fc948107bd0 (patch) | |
tree | 79b79e9df5e01fb08ca55e4fdb3c981272481ace /src/mongo/db/commands/run_aggregate.cpp | |
parent | 276d4d7f6d34bc4c6763107d33a93a3deb2c567b (diff) | |
download | mongo-58a69ba924e2ca557bf1c208fed59fc948107bd0.tar.gz |
SERVER-72687 Revert $out to time-series collections
Diffstat (limited to 'src/mongo/db/commands/run_aggregate.cpp')
-rw-r--r-- | src/mongo/db/commands/run_aggregate.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/commands/run_aggregate.cpp b/src/mongo/db/commands/run_aggregate.cpp index 88efa301556..7c4166b8bf3 100644 --- a/src/mongo/db/commands/run_aggregate.cpp +++ b/src/mongo/db/commands/run_aggregate.cpp @@ -930,8 +930,7 @@ Status runAggregate(OperationContext* opCtx, resolvedView.getNamespace(), ShardVersion::UNSHARDED() /* shardVersion */, boost::none /* databaseVersion */); - } - + }; uassert(std::move(resolvedView), "Explain of a resolved view must be executed by mongos", !ShardingState::get(opCtx)->enabled() || !request.getExplain()); |