summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline
diff options
context:
space:
mode:
authorMihai Andrei <mihai.andrei@mongodb.com>2020-01-09 18:08:44 +0000
committerevergreen <evergreen@mongodb.com>2020-01-09 18:08:44 +0000
commit944e382e9b1cc6b873efaaa5aaf4c01a992f130f (patch)
treeb2056fcf553bd44f92435fa0bea4a04c6d3e4052 /src/mongo/db/pipeline
parent239faf80a16019dd5f5a84df0c858ce8937a9a91 (diff)
downloadmongo-944e382e9b1cc6b873efaaa5aaf4c01a992f130f.tar.gz
SERVER-44252 Delete implicit collection creation loop through the config server in sharding
Diffstat (limited to 'src/mongo/db/pipeline')
-rw-r--r--src/mongo/db/pipeline/sharded_agg_helpers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/sharded_agg_helpers.cpp b/src/mongo/db/pipeline/sharded_agg_helpers.cpp
index 033ac978c46..e305217ed2d 100644
--- a/src/mongo/db/pipeline/sharded_agg_helpers.cpp
+++ b/src/mongo/db/pipeline/sharded_agg_helpers.cpp
@@ -191,7 +191,7 @@ BSONObj genericTransformForShards(MutableDocument&& cmdForShards,
cmdForShards[AggregationRequest::kUseNewUpsert] = Value(true);
}
- return appendAllowImplicitCreate(cmdForShards.freeze().toBson(), false);
+ return cmdForShards.freeze().toBson();
}
std::vector<RemoteCursor> establishShardCursors(
@@ -507,7 +507,7 @@ BSONObj createCommandForMergingShard(Document serializedCommand,
mergeCmd.remove("readConcern");
}
- return appendAllowImplicitCreate(mergeCmd.freeze().toBson(), false);
+ return mergeCmd.freeze().toBson();
}
BSONObj createPassthroughCommandForShard(