[SERVER-24536] nodes can run an election while stepping down Created: 13/Jun/16 Updated: 05/Jun/17 Resolved: 08/Sep/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.13, 3.3.14 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Eric Milkie | Assignee: | Siyuan Zhou |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Backport Requested: |
v3.2
|
||||||||||||||||||||
| Sprint: | Repl 18 (08/05/16), Repl 2016-09-19 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||||||
| Description |
|
If a node is particularly slow, it is possible to interleave a new election attempt while completing the stepdown steps (if the election timeout expires before stepDownFinish() completes). This will result in an invariant firing. |
| Comments |
| Comment by Githook User [ 11/Mar/17 ] | |
|
Author: {u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}Message: (cherry picked from commit 11540cd54638c07708c056eb288d0b4c27b1a8e9) | |
| Comment by Githook User [ 08/Sep/16 ] | |
|
Author: {u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}Message: | |
| Comment by Eric Milkie [ 29/Jul/16 ] | |
|
The invariant that fires looks like this:
|