[SERVER-15832] Primary server steps down without holding global lock Created: 28/Oct/14  Updated: 19/Nov/14  Resolved: 28/Oct/14

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

Type: Bug Priority: Major - P3
Reporter: Andy Schwerin Assignee: Andy Schwerin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-15972 Replication state sometimes transitio... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Under certain code paths, the primary may step down without holding a lock that excludes running writers. This violates the design.



 Comments   
Comment by Githook User [ 28/Oct/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-15832 Prevent primary from stepping down while holding global lock.

Specifically, this prevents it from occuring during reconfig, either heartbeat
or command-initiated.
Branch: master
https://github.com/mongodb/mongo/commit/5cd7a28c3f2009d5e5024b6074284e99e3203ce7

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