[SERVER-41068] Remove map_util.h helper Created: 09/May/19  Updated: 29/Oct/23  Resolved: 30/Jun/20

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Improvement Priority: Minor - P4
Reporter: Billy Donahue Assignee: Billy Donahue
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Related
Backwards Compatibility: Fully Compatible
Sprint: Service arch 2020-06-29
Participants:
Linked BF Score: 45

 Description   

When there are too many little libraries and headers, discoverability suffers. There are 106 right now.
Some of these headers have a single function (e.g. map_util.h). Many are providing functionality that has been superseded by advances in the language, std library, and other libraries.



 Comments   
Comment by Githook User [ 02/May/20 ]

Author:

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

Message: SERVER-41068: hold refs while calling wait functions

Also check for mapped-to-nullptr case before
dereferencing iter->second
Branch: master
https://github.com/mongodb/mongo/commit/be29fb1023e57defd74ed4171c6c253cf6b47aa3

Comment by Githook User [ 02/May/20 ]

Author:

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

Message: SERVER-41068 remove map_util.h
Branch: master
https://github.com/mongodb/mongo/commit/f002800003e9ddf21d8511a0835be0526bc9b614

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