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

Expose readConcern and writeConcern defaults in serverStatus

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.3
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Sharding 2020-01-27

      Specifically, I'd like the following to be exposed in serverStatus (this is from the design document):

       

      getDefaultRWConcern
       defaults:
      { readConcern: \{ ... }, // empty obj if not set
       writeConcern: { ... } // empty obj if not set
      

      This is for metrics, to see how many people are using it once it launches.

      My assumptions: If a user does not configure it, there will be no object. If a user does configure it, even to the default value, it will exist. (these are assumptions, not requirements, so if you envision something different let's talk)

      Example:

      user sets readConcern but not writeConcern:

      defaultRWConcern:

      { readConcern: "local" , }

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            sheeri.cabral Sheeri Cabral (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: