writeconcern>1 gives no error on standalone server

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.4.0
    • Affects Version/s: 4.2.2
    • Component/s: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Rohit Kumar
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: