-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
ALL
-
v4.4
-
Repl 2020-05-18
-
13
The two_nodes_priority_takeover.js test does a reconfig to swap the priority of two nodes in a replica set, and then expects the new, higher priority node to take over and become primary. Right now, it uses this reconfig helper which may execute a single config change as a series of multiple reconfigs. This makes the test unstable, since the final reconfig executed by that helper may occur after the priorities have switched, so it may interfere with the nodes stepping down. We should execute the reconfig with a plain reconfig command so it can happen in a single step and avoid this issue.
- is duplicated by
-
SERVER-48376 Race in two_nodes_priority_take_over.js
- Closed