[SERVER-28702] Race condition of stepdown command and signaling stepdown waiter Created: 08/Apr/17  Updated: 06/Dec/17  Resolved: 03/May/17

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

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
Related
related to SERVER-28544 Stepdown command must take global loc... Closed
related to SERVER-28751 Allow stepDown command to work agains... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2017-04-17, Repl 2017-05-08
Participants:
Linked BF Score: 0

 Description   

Topology coordinator mutex was removed recently, which used to protect the condition checking and waiting on _stepdownWaiter. The condition checking and waiting need to be protected by the same mutex lock.



 Comments   
Comment by Githook User [ 03/May/17 ]

Author:

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

Message: SERVER-28751 Allow stepDown command to work against primary in catchup mode

SERVER-28702 Race condition of stepdown command and signaling stepdown waiter
Branch: master
https://github.com/mongodb/mongo/commit/52bb9f8492852f825de50467f66dd6e3e6b1b6a9

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