-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
ALL
-
v3.6
-
Repl 2018-01-29, Repl 2018-02-12, TIG 2018-03-12
-
15
For Javascript tests that aren't trying to directly test any aspect of the consensus machinery, we should consider making unwanted elections impossible, so as to cut down on the issue of spurious topology changes interfering with the actions a test is executing. Raising election timeouts to some very high value could be one solution to this. It would make tests more resilient to machine/network slowness, and improve their stability. Setting the priority of secondary nodes to 0 (in addition to high election timeouts) could also help reduce the triggering of unexpected election.
We may want to consider reviewing tests and see which ones we consider "consensus agnostic", and those we do not.
- depends on
-
SERVER-32688 FSM replication suites should give secondaries zero votes
- Closed
-
SERVER-32794 Make timeouts unrelated to elections not depend on election timeout
- Closed
- is related to
-
SERVER-32691 Create passthrough for w="majority" with 2-node replica set to address lost test coverage
- Closed
- related to
-
SERVER-38749 Concurrent stepdown suites on 3.6 branch still use 5-second election timeout
- Closed
-
SERVER-35383 Increase electionTimeoutMillis for the ContinuousStepdown hook used in stepdown suites
- Closed
-
SERVER-44214 Give replica set secondaries votes in concurrency suites
- Closed
-
SERVER-92499 Increase default election timeout for indexbg_interrupts.js
- Closed
- mentioned in
-
Page Loading...