Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2876

Race condition when resetting server monitor

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.4
    • Affects Version/s: 3.6.3
    • Component/s: None
    • Labels:
      None

      The changes for streaming topology changes in 4.4 introduced a concept of "resetting" a server monitor non-timeout errors. When we are not streaming (<4.4) there is no need to reset the monitor, and in fact there is a possible race condition between the reset and active server check which may result in a connection leak.

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: