Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
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.