[SERVER-41422] Allow the absence of the 'ns' field from index specs Created: 31/May/19  Updated: 29/Oct/23  Resolved: 11/Jun/19

Status: Closed
Project: Core Server
Component/s: Index Maintenance, Storage
Affects Version/s: None
Fix Version/s: 4.2.0-rc1, 4.3.1

Type: Improvement Priority: Major - P3
Reporter: Gregory Wlodarek Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
is related to SERVER-41696 Stop generating the 'ns' field for in... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2
Sprint: Execution Team 2019-06-03, Execution Team 2019-06-17
Participants:

 Description   

The collection metadata, which includes an array of index specs is all stored in one document today. With the removal of collection name lengths, we could easily hit the BSON document limit for the collection metadata as each index spec stores the 'ns' field. We could remove this field from the index specs as we already have a 'ns' field for the collection metadata stored in the top-level of the document.



 Comments   
Comment by Githook User [ 11/Jun/19 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-41422 Allow the absence of the 'ns' field from index specs
Branch: v4.2
https://github.com/mongodb/mongo/commit/214255bc66e3b713245550d4449de554c8d9b31f

Comment by Githook User [ 11/Jun/19 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-41422 Allow the absence of the 'ns' field from index specs
Branch: master
https://github.com/mongodb/mongo/commit/9ad8cdbded0dc00b17dca8344608920507f60e8d

Generated at Thu Feb 08 04:57:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.