[SERVER-13152] there is a race condition between the notifier and producer threads which can crash the server Created: 12/Mar/14  Updated: 11/Jul/16  Resolved: 12/Mar/14

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 2.6.0-rc1
Fix Version/s: 2.6.0-rc2

Type: Bug Priority: Major - P3
Reporter: Matt Dannenberg Assignee: Matt Dannenberg
Resolution: Done Votes: 0
Labels: 26qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Operating System: ALL
Participants:
Linked BF Score: 0

 Description   

if the notifier thread does not call syncSourceFeedback.ensureMe() before the producer thread calls syncSourceFeedback.connect(), the server will fail a verify that checks for end of object in appendAs() when it is building its handshake object in replHandshake()



 Comments   
Comment by Githook User [ 12/Mar/14 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-13152 move initialize of syncSourceFeedback into ReplSetImpl::_go()
Branch: master
https://github.com/mongodb/mongo/commit/8981cd58e075605b505b3de0e57d2732e44989eb

Generated at Thu Feb 08 03:30:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.