-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
ALL
-
v4.4, v4.2
-
Repl 2020-04-20
-
42
replSetReconfig.js currently runs an ismaster command on a node, but checks for the primary field. Doing so would just indicate that the node has been elected.
We really want to check the ismaster field, which implies that the node is ready to accept writes.
This change should be backported to all earlier affected versions.