[SERVER-31827] Make `multi_rs.js` wait for secondary status after stepdown in `upgradePrimary` Created: 03/Nov/17 Updated: 30/Oct/23 Resolved: 03/Nov/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.4.11, 3.6.0-rc3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | ADAM Martin (Inactive) | Assignee: | ADAM Martin (Inactive) |
| 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: |
v3.4
|
||||||||
| Sprint: | Platforms 2017-11-13 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 19 | ||||||||
| Description |
|
The `upgradePrimary` function eagerly connects to the primary that is stepping down, before it may have changed to `SECONDARY` state. |
| Comments |
| Comment by Githook User [ 28/Nov/17 ] |
|
Author: {'name': 'ADAM David Alan Martin', 'username': 'adamlsd', 'email': 'adam.martin@10gen.com'}Message: The primary being told to step down will kill all incoming connections (cherry picked from commit 29769e9514980334d72b77bd5af618b7a69e7e72) |
| Comment by Githook User [ 03/Nov/17 ] |
|
Author: {'name': 'ADAM David Alan Martin', 'username': 'adamlsd', 'email': 'adam.martin@10gen.com'}Message: The primary being told to step down will kill all incoming connections |