-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.3.1
-
Component/s: Replication
-
None
-
Fully Compatible
-
ALL
-
v4.2, v4.0
-
Repl 2019-08-12
-
0
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.