-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Concurrency, Testing Infrastructure
-
None
-
Fully Compatible
-
Repl 2019-11-18
Presently, by default we give zero votes to secondary members in concurrency suites' ReplicaSetFixture . As a result, lastCommitted lag is not reliable because non-voting members are not considered in its calculation. This means that consumers of lastCommitted lag, such as Flow Control, will not have much testing coverage in most concurrency suites.
In order to prevent a new primary from being elected, it is sufficient to give secondary members zero priority. IIUC, giving secondaries zero votes just prevents stepdowns of the current primary.
We should consider removing the restriction on secondary votes. If it is absolutely necessary to avoid stepdowns in certain cases, we should make sure that these cases are handled individually.
- is related to
-
SERVER-30642 Raise election timeouts as a way to provide more stable replica set test topologies
- Closed
-
SERVER-31670 Change replica set fixture used by replica_sets_jscore_passthrough to make its secondary have zero votes
- Closed
-
SERVER-32688 FSM replication suites should give secondaries zero votes
- Closed