diff options
author | Arun Banala <arun.banala@mongodb.com> | 2019-05-23 11:12:19 +0100 |
---|---|---|
committer | Arun Banala <arun.banala@mongodb.com> | 2019-05-24 14:24:51 +0100 |
commit | 7536959e9afa7e5dd0ef7bc807630630e48d5706 (patch) | |
tree | 202f6bf9dd8264f1c8de61737e48a86e1ff2ab6a /src/mongo/db/pipeline/document_source_merge.h | |
parent | 4f034e89cc7978317d4a6ef34bc718a83ab55ecb (diff) | |
download | mongo-7536959e9afa7e5dd0ef7bc807630630e48d5706.tar.gz |
SERVER-41180 Rename 'MergingLogic' to 'DistributedPlanLogic' to avoid confusion with $merge
Diffstat (limited to 'src/mongo/db/pipeline/document_source_merge.h')
-rw-r--r-- | src/mongo/db/pipeline/document_source_merge.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/document_source_merge.h b/src/mongo/db/pipeline/document_source_merge.h index 3b0d143ad9b..aafae386acf 100644 --- a/src/mongo/db/pipeline/document_source_merge.h +++ b/src/mongo/db/pipeline/document_source_merge.h @@ -136,7 +136,7 @@ public: LookupRequirement::kNotAllowed}; } - boost::optional<MergingLogic> mergingLogic() final override { + boost::optional<DistributedPlanLogic> distributedPlanLogic() final override { // It should always be faster to avoid splitting the pipeline if the output collection is // sharded. If we avoid splitting the pipeline then each shard can perform the writes to the // target collection in parallel. @@ -148,7 +148,7 @@ public: return boost::none; } // {shardsStage, mergingStage, sortPattern} - return MergingLogic{nullptr, this, boost::none}; + return DistributedPlanLogic{nullptr, this, boost::none}; } bool canRunInParallelBeforeOut( |