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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.2.12
    • 2.2.11
    • None
    • Ubuntu 16.04
      node.js 6.3.2
      mongodb server 3.0
      mongodb node.js client 2.2.11

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: