diff options
Diffstat (limited to 'src/mongo/s/query/cluster_aggregation_planner.cpp')
-rw-r--r-- | src/mongo/s/query/cluster_aggregation_planner.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/s/query/cluster_aggregation_planner.cpp b/src/mongo/s/query/cluster_aggregation_planner.cpp index 0a0eb8f109c..c3281cff249 100644 --- a/src/mongo/s/query/cluster_aggregation_planner.cpp +++ b/src/mongo/s/query/cluster_aggregation_planner.cpp @@ -374,8 +374,8 @@ DispatchShardPipelineResults dispatchExchangeConsumerPipeline( } // Create a pipeline for a consumer and add the merging stage. - auto consumerPipeline = uassertStatusOK(Pipeline::create( - shardDispatchResults->splitPipeline->mergePipeline->getSources(), expCtx)); + auto consumerPipeline = Pipeline::create( + shardDispatchResults->splitPipeline->mergePipeline->getSources(), expCtx); sharded_agg_helpers::addMergeCursorsSource( consumerPipeline.get(), @@ -409,7 +409,7 @@ DispatchShardPipelineResults dispatchExchangeConsumerPipeline( // The merging pipeline is just a union of the results from each of the shards involved on the // consumer side of the exchange. - auto mergePipeline = uassertStatusOK(Pipeline::create({}, expCtx)); + auto mergePipeline = Pipeline::create({}, expCtx); mergePipeline->setSplitState(Pipeline::SplitState::kSplitForMerge); SplitPipeline splitPipeline{nullptr, std::move(mergePipeline), boost::none}; |