[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: |
|
||||
| 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: |