Details
-
New Feature
-
Status: Closed
-
Major - P3
-
Resolution: Duplicate
-
None
-
None
-
None
-
Developer Tools
Description
The MONGO_SHIM macros don't actually verify (at compile, link or startup) that they have implementations. We can't enforce this in the initializer graph (because the point of shim is to let us have unimplemented symbols for unittests), but we should check it for binaries intended for end user consumption.
This would probably take the form of a initializer than ran after all shims, or an explicit call to some static function that checked against a global registry.
Attachments
Issue Links
- duplicates
-
SERVER-40144 Check for shim registration at startup of product binaries
-
- Closed
-
- is duplicated by
-
SERVER-40144 Check for shim registration at startup of product binaries
-
- Closed
-