diff options
author | Rishab Joshi <rishab.joshi@mongodb.com> | 2021-02-19 09:36:45 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-02-19 10:25:53 +0000 |
commit | 8330084d10b85bd736ce7c6b8c4f0005dcddfb7a (patch) | |
tree | 8e27ab1d44e7a7139cadfe7d1505612e02c53dc0 /src/mongo/s/query | |
parent | b785ca3a3d785814ac7201d5a7d52e718df7e689 (diff) | |
download | mongo-8330084d10b85bd736ce7c6b8c4f0005dcddfb7a.tar.gz |
SERVER-54072 Contains fixes for test document source allowance constrain for API strict.
Diffstat (limited to 'src/mongo/s/query')
-rw-r--r-- | src/mongo/s/query/cluster_aggregate.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/s/query/cluster_aggregate.cpp b/src/mongo/s/query/cluster_aggregate.cpp index 1a2cdb8467f..7bd56463058 100644 --- a/src/mongo/s/query/cluster_aggregate.cpp +++ b/src/mongo/s/query/cluster_aggregate.cpp @@ -197,8 +197,6 @@ void updateHostsTargetedMetrics(OperationContext* opCtx, void performAPIVersionChecks(const OperationContext* opCtx, const AggregateCommand& request, const LiteParsedPipeline& liteParsedPipeline) { - invariant(opCtx); - liteParsedPipeline.validatePipelineStagesforAPIVersion(opCtx); aggregation_request_helper::validateRequestForAPIVersion(opCtx, request); } |