[SERVER-30610] _syncSourceHost must be mutex protected in bgsync.cpp Created: 11/Aug/17  Updated: 30/Oct/23  Resolved: 14/Sep/17

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

Type: Bug Priority: Major - P3
Reporter: Matthew Russotto Assignee: Katherine Walker (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2017-09-11, Repl 2017-10-02
Participants:
Linked BF Score: 0

 Description   

_syncSourceHost is accessed without being protected by the _mutex here

https://github.com/mongodb/mongo/blob/91d9640442f492324dc104ed6a4a345f90e70431/src/mongo/db/repl/bgsync.cpp#L307



 Comments   
Comment by Ramon Fernandez Marina [ 14/Sep/17 ]

Author:

{'username': u'kvwalker', 'name': u'kvwalker', 'email': u'katherine.walker@mongodb.com'}

Message:SERVER-30610 Mutex protect _syncSourceHost in bgsync.cpp
Branch:master
https://github.com/mongodb/mongo/commit/9869b9d1c5d57d4abd292f0de55e69604b942abd

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