[SERVER-42262] Repeat stepdown and freeze on test shutdown validation Created: 17/Jul/19 Updated: 29/Oct/23 Resolved: 16/Oct/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Siyuan Zhou | Assignee: | Lingzhi Deng |
| Resolution: | Fixed | Votes: | 0 |
| 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: |
v4.2, v4.0
|
||||||||||||||||
| Sprint: | Repl 2019-08-12, Repl 2019-08-26, Repl 2019-09-09, Repl 2019-09-23, Repl 2019-10-07, Repl 2019-10-21 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 10 | ||||||||||||||||
| Description |
|
To make sure all nodes are secondary on shutdown validation, we send stepdown command and then replSetFreeze to the nodes. However, if a concurrent election is running when receiving the stepdown or after stepdown but before replSetFreeze, stepdown will fail with NotMaster and freeze will fail too. We need to keep running the two commands until replSetFreeze succeeds. |
| Comments |
| Comment by Githook User [ 01/Nov/19 ] |
|
Author: {'username': 'ldennis', 'email': 'lingzhi.deng@mongodb.com', 'name': 'Lingzhi Deng'}Message: (cherry picked from commit 365496906f853e5b5fc00b1bac563c0c764f9e90) |
| Comment by Githook User [ 30/Oct/19 ] |
|
Author: {'name': 'Lingzhi Deng', 'username': 'ldennis', 'email': 'lingzhi.deng@mongodb.com'}Message: (cherry picked from commit 365496906f853e5b5fc00b1bac563c0c764f9e90) |
| Comment by Githook User [ 16/Oct/19 ] |
|
Author: {'username': 'ldennis', 'email': 'lingzhi.deng@mongodb.com', 'name': 'Lingzhi Deng'}Message: |