-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
Fully Compatible
-
ALL
-
v4.0, v3.6
-
TIG 2018-09-10
-
19
-
2
The replica_sets_kill_primary_jscore_passthrough tests occasionally timeout due waiting for a primary to be selected.
The tests increase the election timeout to 24 hours to have control over which node is the leader. However, this can lead to a situation where the leader has been killed and both secondaries were unable to take over due to having stale oplogs. When the server is brought back up and attempts to stepup, there is a chance it has not yet heard back heartbeats from the other nodes in the cluster and assumes they are down. This means the stepup fails and another election is not attempted causing the test to eventually timeout.
A possible solution, in the event of a failure would be to retry the stepup after some delay. This would allow the secondaries more time to respond to the heart beat request.
- is related to
-
SERVER-35383 Increase electionTimeoutMillis for the ContinuousStepdown hook used in stepdown suites
- Closed