[SERVER-25550] Fix the race between simulateSuccessfulV1Voting and catch-up in unit test Created: 10/Aug/16  Updated: 25/Jan/17  Resolved: 12/Aug/16

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

Type: Bug Priority: Major - P3
Reporter: Siyuan Zhou Assignee: Siyuan Zhou
Resolution: Done 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
Sprint: Repl 2016-08-29
Participants:
Linked BF Score: 0

 Description   

simulateSuccessfulV1Voting runs until the node enters catch-up mode, but if catch-up is scheduled (using onEvent()) by the DB worker thread after the voting finishes, simulateSuccessfulV1Voting may black hole the replSetGetStatus requests.



 Comments   
Comment by Githook User [ 12/Aug/16 ]

Author:

{u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}

Message: SERVER-25550 Fix the race between simulateSuccessfulV1Voting and catch-up in unit test
Branch: master
https://github.com/mongodb/mongo/commit/75a55b677819034ca20c6112b3ae55d2c008908e

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