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

Respond with error upon encountering unknown field names in writeConcern

    XMLWordPrintable

Details

    • Improvement
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • 2.6.0-rc0
    • None
    • Usability, Write Ops

    Description

      Currently unrecognized field names are silently ignored. Errorring can help protect against typos like

      {fync: true}

      and will correctly error if we add a new flag like journaledOnSlaves and it is sent to a server that doesn't support it.

      We may want to strictly validate all arguments to write commands for the same reason.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-repl Backlog - Replication Team
              mathias@mongodb.com Mathias Stearn
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: