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

WriteConcernOptions::parse should verify that the "w" field is an acceptable string

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Replication

    Description

      Currently it will parse and return an invalid string (for ex. "invalid"). We should check this rather than letting the invalid string propagate up.

      Here: https://github.com/mongodb/mongo/blob/r3.6.1/src/mongo/db/write_concern_options.cpp#L140-L148

      cc esha.maharishi

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            kaitlin.mahar@mongodb.com Kaitlin Mahar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: