Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-42850

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

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 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().

            Assignee:
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Reporter:
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: