[SERVER-51367] Ensure proper synchronization around _state after shutdown of FreeMonController Created: 05/Oct/20  Updated: 29/Oct/23  Resolved: 22/Oct/20

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

Type: Bug Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Security 2020-11-02
Participants:
Linked BF Score: 12

 Description   

After FreeMonController is shutdown, _state is written to indicate that shutdown is complete. This should be guarded with the mutex since certain methods like FreeMonController::getServerStatus may still read _state.



 Comments   
Comment by Githook User [ 22/Oct/20 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-51367 Ensure proper synchronization around _state after shutdown of FreeMonController
Branch: master
https://github.com/mongodb/mongo/commit/22eb29f52ff8349d6cc10ec27b35af80d455f9ab

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