[SERVER-15361] BackgroundJob should not access the SSLManager after notifying waiters of completion Created: 23/Sep/14  Updated: 02/Oct/14  Resolved: 24/Sep/14

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

Type: Bug Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CXX-328 MCI locking error in unittests Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:

See CXX-327 and CXX-247

Participants:

 Description   

Otherwise, if the wait on the BackgroundJob is all that is blocking execution of static destructors, the BackgroundJob thread's access to the SSL manager will race with the static destruction of the SSL manager mutex.



 Comments   
Comment by Githook User [ 24/Sep/14 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-15361 Access SSLManager before notifying waiters of BackgroundJob completion
Branch: master
https://github.com/mongodb/mongo/commit/dafc21d92cc58991cc3539e3085e20b9ce50cc71

Comment by Githook User [ 23/Sep/14 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: CXX-328 Don't access SSLManager after notifying

See SERVER-15361 for additional details on this change
Branch: legacy
https://github.com/mongodb/mongo-cxx-driver/commit/7c40809ac93873f1d8b5714f30ff2067af6d11ce

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