-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Replication
-
Labels:None
-
ALL
-
Repl 2019-08-26, Repl 2019-09-09, Repl 2019-09-23, Repl 2019-10-07
-
30
In replsettest.js, if a transient network error occurs during _callIsMaster(), the node that failed to connect will not get added to _liveNodes. When we stop a replica set and do our auth checks, it is possible to pass _liveNodes into asCluster() without the correct number of live nodes.
We should make sure that _liveNodes isn't missing a node before we send it through asCluster().