[SERVER-43413] Simplify library dependency graph Created: 23/Sep/19  Updated: 29/Oct/23  Resolved: 25/Sep/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Improvement Priority: Major - P3
Reporter: Sara Golemon Assignee: Sara Golemon
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Backwards Compatibility: Fully Compatible
Sprint: Security 2019-10-07
Participants:
Linked BF Score: 0

 Description   

symmetric_crypto depends on ssl_manager for a single, small translation method when in OpenSSL mode. Expose that implementation in SSLInterface and break the dependency entirely.

ssl_manager depends on server_status to expose tlsCounts, but this can loop back to ssl_manager very easily. Just move the server status section and keep the dependency always flowing in one direction.



 Comments   
Comment by Githook User [ 25/Sep/19 ]

Author:

{'username': 'sgolemon', 'email': 'sara.golemon@mongodb.com', 'name': 'Sara Golemon'}

Message: SERVER-43413 Break SetupOpenSSL initializer to separate library
Branch: master
https://github.com/mongodb/mongo/commit/3fe0e59fcb5b5007eb1861e7dde2b2126ffdbf2e

Comment by Spencer Jackson [ 25/Sep/19 ]

I submitted a revert for this, from BF-14803

Comment by Githook User [ 25/Sep/19 ]

Author:

{'username': 'sgolemon', 'email': 'sara.golemon@mongodb.com', 'name': 'Sara Golemon'}

Message: SERVER-43413 Simplify dependency graph

Break dependency from symmetric_crypto to ssl_manager,
and ssl_manager to server_status
Branch: master
https://github.com/mongodb/mongo/commit/6db227bc5616d6af031a797d87eaad193c8c32f0

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