[SERVER-15747] Enforce a stepdown period after election loss Created: 20/Oct/14  Updated: 11/Jul/16  Resolved: 21/Oct/14

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

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

Issue Links:
Tested
Operating System: ALL
Participants:

 Description   

In order to prevent synchronized standing for election between multiple nodes, after an election is lost due to receiving fewer than the required number of votes, set the stepdown time for (the lastVote lease time plus a random value). This should ensure that other nodes get a chance to elect themselves, by preventing repeated resetting of the lastVote value with no hope of ever winning an election.



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

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-15747 stepdown for the lease time after failed election
Branch: master
https://github.com/mongodb/mongo/commit/91c8c4425c16639176033596e7e88788e8992075

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