[SERVER-55197] Start FTDC background job after initializing its decoration Created: 15/Mar/21  Updated: 29/Oct/23  Resolved: 23/Mar/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.0-rc0

Type: Bug Priority: Minor - P4
Reporter: Benjamin Caimano (Inactive) Assignee: Varun Ravichandran
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 2021-03-22, Security 2021-04-05
Participants:
Linked BF Score: 147

 Description   

We initialize the FTDC decoration here. Unfortunately, we start a job that accesses that decoration here. We should reorder these lines to prevent a race condition or add an explicit start for the FTDCController.



 Comments   
Comment by Githook User [ 23/Mar/21 ]

Author:

{'name': 'Varun Ravichandran', 'email': 'varun.ravichandran@mongodb.com', 'username': 'varunravi98'}

Message: SERVER-55197: Synchronize free monitoring controller decoration
Branch: master
https://github.com/mongodb/mongo/commit/4bf59b0542863d2e9e71d3b75fa076a7601aaf01

Comment by Benjamin Caimano (Inactive) [ 15/Mar/21 ]

bruce.lucas, that is correct.

Comment by Bruce Lucas (Inactive) [ 15/Mar/21 ]

I believe it is the case, but just want to double-check, that the reordering here is completely within FTDC startup and won't affect the ordering of FTDC startup in relation to the startup of the rest of the major mongod systems? Just want to make sure we don't lose any FTDC collection at startup, as we already are starting it later than ideal and therefore don't monitor everything we might want to during startup.

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