-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
Repl 2020-04-06, Repl 2020-04-20, Repl 2020-05-04, Repl 2020-05-18, Repl 2020-06-01
-
9
The test runs an initiate command rather than using ReplSetTest's initiate function since the test does not guarantee that all nodes are authenticated. This means that the first primary for the set happens after a node's election timeout triggers and it successfully runs for election. If another node runs for election before it finds out about the first election, then the original primary will step down, which could interrupt ongoing operations being run by the test.
Instead, we should ensure that all nodes agree on the primary some other way to ensure that nodes don't interrupt each other in the middle of the test.