[SERVER-61438] Fix race in health_observer_test.cpp Created: 12/Nov/21  Updated: 29/Oct/23  Resolved: 16/Dec/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 5.2 Required
Fix Version/s: 5.2.0, 4.4.12, 5.0.7

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

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0, v4.4
Participants:
Linked BF Score: 33

 Description   

The assertion "ASSERT_FALSE(stats.currentlyRunningHealthCheck)" in Stats test is racy and should be replaced with wait with timeout.



 Comments   
Comment by Githook User [ 28/Dec/21 ]

Author:

{'name': 'Andrew Shuvalov', 'email': 'andrew.shuvalov@mongodb.com', 'username': 'shuvalov-mdb'}

Message: SERVER-61438 fix race in FaultManagerTest
Branch: v4.4
https://github.com/mongodb/mongo/commit/c3e7c54097f8634ce92bb03667456fc8b6866577

Comment by Githook User [ 12/Nov/21 ]

Author:

{'name': 'Andrew Shuvalov', 'email': 'andrew.shuvalov@mongodb.com', 'username': 'shuvalov-mdb'}

Message: SERVER-61438 fix race in FaultManagerTest
Branch: master
https://github.com/mongodb/mongo/commit/07f76750e87a85245474c67ae2e8f2811322d45e

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