Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-14783

OpWriteConcernCounters does not reflect 5.0 wmajority default behavior.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.0.0, 5.1.0
    • manual, Server
    • None
    • 2
    • ServerDocs2021: Sep21 - Sep28, ServerDocs2021: Sep28 - Oct5, ServerDocs2021: Oct5 - Oct12, ServerDocs2021: Oct12 - Oct19, ServerDocs2021: Oct19 - Oct26, ServerDocs2021: Oct26 - Nov2, ServerDocs2021: Nov2 - Nov9, ServerDocs2022: Nov9-Nov16
    • true

    Description

      https://docs.mongodb.com/manual/reference/command/serverStatus/#mongodb-serverstatus-serverstatus.opWriteConcernCounters

      Number of insert operations that did not specify w value. These operations use the default w value of 1.

      I believe this is in direct contradiction with: https://docs.mongodb.com/manual/reference/write-concern/#implicit-default-write-concern

      Starting in MongoDB 5.0, the implicit default write concern is w: majority.

      Attachments

        Activity

          People

            jocelyn.mendez@mongodb.com Jocelyn Mendez
            kevin.arhelger@mongodb.com Kevin Arhelger
            Jocelyn Mendez Jocelyn Mendez
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              28 weeks, 1 day ago