[SERVER-63100] Move WriteConcernW type out of basic_types Created: 28/Jan/22  Updated: 29/Oct/23  Resolved: 17/Mar/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0-rc4

Type: Improvement Priority: Major - P3
Reporter: Matt Broadstone Assignee: Matt Broadstone
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

The WriteConcernW type is defined in basic_types.h for convenience, because it's used frequently throughout the codebase. This makes it relatively difficult to work on that type, changing anything in that file requires recompiling every compile unit. We should consider moving this type (probably to write_concern_options.h), and doing the work to explicitly include it where it's being used.



 Comments   
Comment by Githook User [ 17/Mar/22 ]

Author:

{'name': 'Matt Broadstone', 'email': 'mbroadst@mongodb.com', 'username': 'mbroadst'}

Message: SERVER-64577: Disallow wTags write concern in FCV less than 5.3

also fixes SERVER-63100
Branch: v5.3
https://github.com/mongodb/mongo/commit/d55bd28579d474c97a282ead23b2600075bc72d1

Comment by Githook User [ 17/Mar/22 ]

Author:

{'name': 'Matt Broadstone', 'email': 'mbroadst@mongodb.com', 'username': 'mbroadst'}

Message: SERVER-64577: Disallow wTags write concern in FCV less than 5.3

also fixes SERVER-63100
Branch: master
https://github.com/mongodb/mongo/commit/cc774a291b08216b01eb14ad57fd40b8899b6532

Generated at Thu Feb 08 05:56:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.