summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/resharding
diff options
context:
space:
mode:
authorjannaerin <golden.janna@gmail.com>2023-03-29 16:29:36 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-03-29 19:13:28 +0000
commit4326f194dcd67e1053e7e57dae003831aacc5f2c (patch)
treeb8926e345b61498d7628cd340cc224cc610bc11b /src/mongo/db/s/resharding
parent6759d92c8cd619d00bd522bb5ebd688a4d685fd0 (diff)
downloadmongo-4326f194dcd67e1053e7e57dae003831aacc5f2c.tar.gz
SERVER-73112 Make NamespaceString constructors private
Diffstat (limited to 'src/mongo/db/s/resharding')
-rw-r--r--src/mongo/db/s/resharding/resharding_collection_cloner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/resharding/resharding_collection_cloner.cpp b/src/mongo/db/s/resharding/resharding_collection_cloner.cpp
index 07538097e26..c34a5d0350b 100644
--- a/src/mongo/db/s/resharding/resharding_collection_cloner.cpp
+++ b/src/mongo/db/s/resharding/resharding_collection_cloner.cpp
@@ -109,7 +109,7 @@ ReshardingCollectionCloner::makeRawPipeline(
// Assume that the config.cache.chunks collection isn't a view either.
auto tempNss = resharding::constructTemporaryReshardingNss(_sourceNss.db(), _sourceUUID);
auto tempCacheChunksNss =
- NamespaceString(DatabaseName::kConfig, "cache.chunks." + tempNss.ns());
+ NamespaceString::makeGlobalConfigCollection("cache.chunks." + tempNss.ns());
resolvedNamespaces[tempCacheChunksNss.coll()] = {tempCacheChunksNss, std::vector<BSONObj>{}};
// Pipeline::makePipeline() ignores the collation set on the AggregationRequest (or lack