-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: 5.3 Desired
-
Component/s: None
-
None
-
Fully Compatible
-
Server Serverless 2022-01-24, Server Serverless 2022-02-07
-
150
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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.