diff options
Diffstat (limited to 'src/mongo/s/catalog')
-rw-r--r-- | src/mongo/s/catalog/type_chunk.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/s/catalog/type_chunk.cpp b/src/mongo/s/catalog/type_chunk.cpp index d29d55cbb69..944a6b6df4c 100644 --- a/src/mongo/s/catalog/type_chunk.cpp +++ b/src/mongo/s/catalog/type_chunk.cpp @@ -48,6 +48,10 @@ namespace mongo { const NamespaceString ChunkType::ConfigNS("config.chunks"); + +// The final namespace of the cached chunks metadata is composed of the namespace of the related +// sharded collection (i.e., config.cache.chunks.<ns>). As a result, the maximum namespace length of +// sharded collections is reduced. See NamespaceString::MaxNsShardedCollectionLen. const std::string ChunkType::ShardNSPrefix = "config.cache.chunks."; const BSONField<OID> ChunkType::name("_id"); |