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

Remove the 'ns' field requirement on index specs

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Execution Team 2019-07-29

      Index specs are required to have an 'ns' field, but when we replicate the 'createIndex' oplog entry, we strip away the 'ns' field and then add it back when applying the oplog entry.

      Storing the 'ns' field on index specs unnecessarily complicates the catalog during collection renames, and in unused in general.

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: