-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Integration
-
Fully Compatible
-
None
-
3
-
TBD
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The test extensions we have added as part of the C++ sdk project are unable to load because of a double initialization of global initializers in mongo/base dependencies. This is because we are not currently preventing the mongo/base symbols the extensions are built with from being exported in the shared object. When inspecting the elf binary, all the symbols that came from mongo/base are marked as WEAK, so they collide and resolve to the existing symbols in the host process.
To fix this issue, we need to make sure those symbols are not exported and marked as local instead.
- is duplicated by
-
SERVER-106929 Make test example extensions safely loadable
-
- Closed
-
- related to
-
SERVER-107651 Remove C++ SDK dependency on base library
-
- Backlog
-