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

Disallow inserting documents with invalid field names (nested)

    XMLWordPrintable

Details

    • Bug
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • Write Ops
    • ALL

    Description

      Currently the insert checks do not validate past the first level of fields, and for performance reasons this may be hard to do without causing issues.

      Example of where this is not validated on the server:

      {_id:1, "a" : { "a.b":1, "$foo":1}}

      Attachments

        Issue Links

          Activity

            People

              backlog-query-optimization Backlog - Query Optimization
              scotthernandez Scott Hernandez
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated: