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

Validate top-level & index spec field names for the createIndexes command

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 3.4.0-rc0
    • Affects Version/s: None
    • Component/s: Index Maintenance
    • None
    • Minor Change
    • Integration 2016-10-10

      Add validation for createIndexes field names both at the top level and in the index specification. This is to prevent mis-spelled field names and correct field names being placed at the wrong level of the command specification (for example "background: true" being placed at the top level rather then within the index spec document.

            Assignee:
            james.wahlin@mongodb.com James Wahlin
            Reporter:
            kbanker Kyle Banker
            Votes:
            9 Vote for this issue
            Watchers:
            24 Start watching this issue

              Created:
              Updated:
              Resolved: