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

Connections can be leaked if wait queue members are cancelled

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

      There is a bug in the new CMAP implementation where connections may be leaked if a wait queue member times out before execution. The bug is exacerbated by using a waitQueueTimeoutMS (and would likely have surfaced as part of client-side operation timeout), but only occurs when there are no active connections, the pool is not maxed out, and the wait queue member times out between checkout and connection establishment.

            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: