[SERVER-33472] limit number of electable nodes in upgrade_to_ssl_nossl.js Created: 23/Feb/18 Updated: 29/Oct/23 Resolved: 23/Feb/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.3 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Benety Goh | Assignee: | Benety Goh |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Repl 2018-03-12 | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
upgrade_ssl_nossl.js may fail inside upgradePrimary() (multi_rs.js) on slow machines when both secondaries try to run for election at the same time. We can minimize the likelihood of this happening by having 2 electable nodes in the ReplSetTest configuration instead of 3. |
| Comments |
| Comment by Githook User [ 23/Feb/18 ] |
|
Author: {'email': 'benety@mongodb.com', 'name': 'Benety Goh', 'username': 'benety'}Message: This reduces the likelihood of election races on slow machines when restarting nodes. |