-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
2
-
🟥 DDL
-
None
-
None
-
None
-
None
-
None
-
None
MongoDB currently permits explicitly created namespaces up to 255 bytes. However, sharded collections remain limited to 235 bytes because older server versions persisted per-shard filtering metadata in namespace-suffixed collections using the config.cache.chunks.<namespace> prefix. That persisted cache is no longer required after the Shards Authoritative work, but the 235-byte validation remains.
This leaves sharded collections with a lower limit than unsharded collections, even though both are otherwise governed by the 255-byte explicit-namespace limit.
The goal is to remove the obsolete 235-byte restriction for sharded collections (in version 10.0) and allow explicitly created sharded namespaces up to the full 255-byte limit.
- is depended on by
-
SERVER-34632 config.chunks change to config.cache.chunks creates a collection long name after upgrade
-
- Blocked
-
- is duplicated by
-
SERVER-89172 Remove collection name limit of 235 for sharded collections
-
- Closed
-
- is related to
-
SERVER-34632 config.chunks change to config.cache.chunks creates a collection long name after upgrade
-
- Blocked
-
-
SERVER-46641 Limit collection names to 255 bytes
-
- Closed
-
-
SERVER-62906 Add a check in the createCollection/shardCollection path verifying the collection name length
-
- Closed
-
-
SERVER-31644 Rename the per-shard filtering information cache collections to be prefixed with `config.cache`
-
- Closed
-