[SERVER-54366] Wait for node to start stepdown before killing shutdown operation in force_shutdown_primary.js Created: 05/Feb/21 Updated: 29/Oct/23 Resolved: 08/Feb/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0, 4.2.13, 4.4.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ali Mir | Assignee: | Ali Mir |
| 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.4, v4.2
|
||||||||
| Sprint: | Repl 2021-02-08, Repl 2021-02-22 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 11 | ||||||||
| Description |
|
In force_shutdown_primary.js, we may kill the shutdown operation before we actually start attempting to step the primary down. As a result, the parallel shell can exit cleanly with an exit code of zero, when we expect it to have a nonzero code. We should add a failpoint right before stepdown, and wait for the primary to reach that failpoint before we attempt to kill the shutdown operation. |
| Comments |
| Comment by Githook User [ 23/Feb/21 ] |
|
Author: {'name': 'Ali Mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}Message: (cherry picked from commit 2f3010a29bed0d3733a428021a9cc66c83580fd0) |
| Comment by Githook User [ 23/Feb/21 ] |
|
Author: {'name': 'Ali Mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}Message: (cherry picked from commit 2f3010a29bed0d3733a428021a9cc66c83580fd0) |
| Comment by Githook User [ 08/Feb/21 ] |
|
Author: {'name': 'Ali Mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}Message: |