[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: also fixes |
| Comment by Githook User [ 17/Mar/22 ] |
|
Author: {'name': 'Matt Broadstone', 'email': 'mbroadst@mongodb.com', 'username': 'mbroadst'}Message: also fixes |