[SERVER-60022] Sanitize usage of std::optional and prevent future additions Created: 16/Sep/21  Updated: 29/Oct/23  Resolved: 21/Sep/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Matt Broadstone Assignee: Billy Donahue
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-71737 Move boost optional requirement lint ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2021-09-20, Service Arch 2021-10-04
Participants:
Story Points: 1

 Description   

Until we decide whether we want to migrate to std::optional (SERVER-26542), we should convert all existing references to boost::optional and add a linter check that enforces our current commitment to boost::optional.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 21/Sep/21 ]

Author:

{'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}

Message: SERVER-60022 global std::optional -> boost::optional
Branch: master
https://github.com/mongodb/mongo/commit/6ff19433eb6f8dba381c6736a364b1967ba43541

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