-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Labels:
-
Fully Compatible
-
ALL
-
Sharding 2019-09-23
-
8
read_pref_cmd.js tests read preference and assumes that the same nodes will be primary/secondary throughout the entire test. If there is an unexpected stepdown, a different node could step up. We should ensure that the same node will always stepup by setting the priority and votes for each shard node in this test.