[SERVER-31355] Increase replica set size and stepdown period and decrease election timeout in auto_retry_on_network_error.js Created: 02/Oct/17 Updated: 30/Oct/23 Resolved: 04/Oct/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jack Mulrow | Assignee: | Max Hirschhorn |
| 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 | ||||||||||||
| Sprint: | TIG 2017-10-23 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 0 | ||||||||||||
| Description |
|
auto_retry_on_network_error.js, can fail with a NotMaster error when the same node is elected primary in successive terms. To decrease the frequency the test is failing at, add an extra node to the test's replica set, increase the replSetStepDown period, and decrease the election timeout to reduce the chance this happens. This should also significantly reduce the test's runtime. |
| Comments |
| Comment by Githook User [ 04/Oct/17 ] |
|
Author: {'email': 'max.hirschhorn@mongodb.com', 'name': 'Max Hirschhorn', 'username': 'visemet'}Message: Changes the test to wait for all client connections to be closed before Also introduces a failpoint to cause the server to hang after it has |