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

WriteConcernOptions should use the WriteConcernW type

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.3.0
    • 5.3 Desired
    • None
    • None
    • Fully Compatible
    • Server Serverless 2022-01-24, Server Serverless 2022-02-07
    • 150

    Description

      The WriteConcernOptions type has three member variables which are mutually exclusive: wNumNodes, wMode, and now wTags. We also have a WriteConcernW type which wraps a std::variant of possible w value types. Use the WriteConcernW type in WriteConcernOptions, and update the server codebase to switch between variant value types when deciding how to interpret a write concern.

      Attachments

        Activity

          People

            matt.broadstone@mongodb.com Matt Broadstone
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: