The collection catalog stores metadata for each collection in one document. This includes an array of index specs for indexes belonging to the collection. Each index spec entry contains the 'ns' field, and with the removal of the restriction on collection name length, this has the potential to quickly hit the documents BSON limit.
There is already an 'ns' field at the top-level of the collection metadata document that could be used instead.
- is depended on by
-
DRIVERS-731 Handle absence of 'ns' field in index specifications returned from listIndexes
- Closed
-
SERVER-41697 Remove the 'ns' field from any existing index spec catalog entries during upgrade
- Closed
- is related to
-
SERVER-42629 Duplicate 'ns' field in the DurableCatalog
- Backlog
-
SERVER-39373 Remove the 'ns' field requirement on index specs
- Closed
- related to
-
SERVER-91746 Cleanup stray 'ns' fields from existing index specs in the catalog
- Backlog
-
SERVER-41422 Allow the absence of the 'ns' field from index specs
- Closed