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

writeconcern>1 gives no error on standalone server

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.0
    • Affects Version/s: 4.2.2
    • Component/s: Querying, Shell
    • Labels:
    • Fully Compatible
    • ALL
    • Hide

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

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

      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.

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

              Created:
              Updated:
              Resolved: