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

writeconcern>1 gives no error on standalone server

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 4.2.2
    • 4.4.0
    • Querying, Shell
    • Fully Compatible
    • ALL
    • Hide

      db.collection.insert({name:"xyz"},{w:2})

      Show
      db.collection.insert({name:"xyz"},{w:2})
    • STM 2020-06-15
    • 3

    Description

      When i query "db.collection.insertOne({name:"xyz"},{w:2})" gives error on standalone server which is correct but "db.collection.insert({name:"xyz"},{w:2})" does not.

       

      I got it on mongo enterprise 4.2.

      Attachments

        Activity

          People

            ryan.timmons@mongodb.com Ryan Timmons
            rht.rajput@yahoo.com Rohit Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: