[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: |
|
||||||||||||
| 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: |
| Comment by Githook User [ 11/Jun/19 ] |
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: |