Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-41696

Stop generating the 'ns' field for index spec catalog entries

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2019-07-29, Execution Team 2019-08-12
    • 50

      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.

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: