[SERVER-42534] Step down primary for less time in freeze_timeout.js and increase electionTimeoutMillis Created: 31/Jul/19 Updated: 29/Oct/23 Resolved: 31/Jul/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 4.3.1 |
| Fix Version/s: | 4.2.1, 4.3.1, 4.0.14 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Medha Potluri (Inactive) | Assignee: | Medha Potluri (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: |
v4.2, v4.0
|
||||||||
| Sprint: | Repl 2019-08-12 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 0 | ||||||||
| Description |
|
freeze_timeout.js fails because, after the primary steps down, instead of a single node replica set prompt election taking place as desired, an election is started due to an election timeout. This is because the primary is stepped down for 10 seconds, which is equal to electionTimeoutMillis. The fix would be to step down the primary for less time and to increase electionTimeoutMillis to be safe. |
| Comments |
| Comment by Githook User [ 16/Oct/19 ] |
|
Author: {'name': 'Samyukta Lanka', 'username': 'lankas', 'email': 'samy.lanka@mongodb.com'}Message: (cherry picked from commit 488adcaea8526492411d433229a765d5bd7dd5db) |
| Comment by Githook User [ 07/Oct/19 ] |
|
Author: {'name': 'Samyukta Lanka', 'username': 'lankas', 'email': 'samy.lanka@mongodb.com'}Message: (cherry picked from commit 488adcaea8526492411d433229a765d5bd7dd5db) |
| Comment by Githook User [ 31/Jul/19 ] |
|
Author: {'name': 'Medha Potluri', 'email': 'medha.potluri@mongodb.com'}Message: |