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

write concern accepts malformed documents

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • Replication
    • Replication

    Description

      We should validate the arguments sent to write concern so that if we add a field to write concern, old servers that don't support that field do not silently ignore it. Applications might assume they're getting durability guarantees they are not getting.
      Ex:

      > db.test.runCommand({insert : "test", documents : [], writeConcern : { foo : 1} } )
      

      Attachments

        Issue Links

          Activity

            People

              backlog-server-repl Backlog - Replication Team
              judah.schvimer@mongodb.com Judah Schvimer
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: