-
Type: Bug
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Service Arch
-
ALL
-
-
4
The library write_unit_of_work needs typeinfo for mongo::OperationContext in UBSAN builds, but if the library, service_context, which contains the definition of that typeinfo is linked to it, this caused a circular dependency between the two librarys.
We need to extract the typeinfo definition into its own library that both write_unit_of_work and service_context can link, and any other librarys that need the mongo::OperationContext typeinfo defined.
Acceptance Criteria:
Remove dependency of service_context on write_unit_of_work via constructor actions or other decoupling mechanisms.
Verify that we have removed the circular dependency mentioned in the repro.
- is related to
-
SERVER-49798 Enforce correct library graph for ubsan vptr check builds
- Closed