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

timeout event not emits during network issue

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.2.13
    • Affects Version/s: 2.2.12
    • Component/s: None
    • Labels:
    • Environment:
      Ubuntu 16.04
      node.js 6.3.2
      mongodb server 3.0
      mongodb node.js client 2.2.11

      I have investigated and timeout event not emits, in this case:

      for poolSize = 5, socketTimeoutMS=5000
      1. connect to mongo and do many requests
      2. mongo client open 5 sockets and nice work with them
      3. block network to mongodb server
      4. all sockets timed out not at the same time
      5. In my case, 4 sockets timed out, event not emit because we have socketCount() > 0
      6. after 1-2 seconds 5th socket timed out too, but socketCount() > 0 and timeout not emits, because we have 4 connecting sockets

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            buinskii Buinskii Alexander
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'slack.nextup.jira:slack-integration-plus'. Please contact your Jira administrators.