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

close event not emits during network issues using single server topology

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

      Attached:
      test.js - source of test
      test-output.log - output of test run in my env

      In general we need to detect if we lost access to mono db. As you can see, maybe we can use 'timeout ' event. But now timeout event emited not every time, in our stage env mongo client never emits timeout event on highs query rate.

        1. test.js
          3 kB
        2. test-output.log
          3 kB

            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.