[SERVER-69409] Server selector race condition Created: 02/Sep/22  Updated: 29/Oct/23  Resolved: 06/Sep/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.0-rc1, 6.2.0-rc0

Type: Bug Priority: Major - P3
Reporter: Alex Neben Assignee: Alex Neben
Resolution: Fixed Votes: 0
Labels: tsan
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 5

 Description   

The random number generator in the server selection process is not thread safe



 Comments   
Comment by Githook User [ 06/Sep/22 ]

Author:

{'name': 'Alexander Neben', 'email': 'alexander.neben@mongodb.com', 'username': 'IamXander'}

Message: SERVER-69409 Removed extra randomness
Branch: master
https://github.com/mongodb/mongo/commit/7b2b963c39c4717ee9b3515fa52ba8b3f9cbf062

Comment by Githook User [ 06/Sep/22 ]

Author:

{'name': 'Alexander Neben', 'email': 'alexander.neben@mongodb.com', 'username': 'IamXander'}

Message: SERVER-69409 Fixed race condition in server selector
Branch: master
https://github.com/mongodb/mongo/commit/3171ebbe9d1df7a9e11ec69c8f8df6def22bf116

Generated at Thu Feb 08 06:13:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.