asCluster() can receive incorrect _liveNodes value due to transient network issues

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • ALL
    • Repl 2019-08-26, Repl 2019-09-09, Repl 2019-09-23, Repl 2019-10-07
    • 30
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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().

            Assignee:
            Pavithra Vetriselvan
            Reporter:
            Pavithra Vetriselvan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: