[SERVER-54351] Fix race in topology_listener_test.cpp found by BF Created: 05/Feb/21  Updated: 29/Oct/23  Resolved: 08/Feb/21

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

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:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 26

 Description   

BF-20019 reported a trivial race in topology listener asynchronous event processing.
The fix is to wait for ping request to be delivered.



 Comments   
Comment by Githook User [ 06/Feb/21 ]

Author:

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

Message: SERVER-54351: Fix race in topology_listener_test.cpp
Branch: master
https://github.com/mongodb/mongo/commit/bd538c0b67fdb21c2be9ed4d124480f3d6fe9fa3

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