[SERVER-59782] Migrate away from obsolete `makeGuard` Created: 03/Sep/21  Updated: 29/Oct/23  Resolved: 09/Sep/21

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

Type: Improvement Priority: Major - P3
Reporter: Billy Donahue Assignee: Billy Donahue
Resolution: Fixed Votes: 0
Labels: servicearch-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-59753 ScopeGuard is missing a deduction guide Closed
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2021-09-20
Participants:
Story Points: 1

 Description   

SERVER-59753 added deduction guides for ScopeGuard.
In the interest of slimming the API surface we should convert all appearances of `makeGuard` to `ScopeGuard`, which will do exactly the same thing more clearly.



 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@gmail.com', 'username': 'BillyDonahue'}

Message: SERVER-59782 remove calls to makeGuard
Branch: SERVER-58852
https://github.com/10gen/mongo-enterprise-modules/commit/62d94740819858f2db4e7adae28016d27e31b320

Comment by Githook User [ 09/Sep/21 ]

Author:

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

Message: SERVER-59782 remove calls to makeGuard
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/62d94740819858f2db4e7adae28016d27e31b320

Comment by Githook User [ 08/Sep/21 ]

Author:

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

Message: SERVER-59782 migrate makeGuard calls to ScopeGuard
Branch: master
https://github.com/mongodb/mongo/commit/c90f38192378c8526354465991830524eda90c1f

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