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

Connections in connection pool are always closed since Nodejs driver 6.0

    • Type: Icon: Question Question
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 6.0.0
    • Component/s: None
    • Labels:
    • 2
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Use Case

      As a Mongo Nodejs driver user
      I want Nodejs driver 6.0 or above to maintain the connections in connection pool. Not to close these connections after they are created for a while. 
      So that driver 6.0 won't raise exception "read ECONNRESET"

      User Impact

      • All applications that use Nodejs driver 6.0 or above to operate Mongodb Community will be impacted by exception "read ECONNRESET". Existing connections are closed constantly. New connections will have to be created for DB operation. These actions cause "read ECONNRESET" exceptions.

      Dependencies

      • upstream and/or downstream requirements and timelines to bear in mind

      Unknowns

      • questions that need to be answered to determine implementation

      Acceptance Criteria

      Implementation Requirements

      • functional reqs, potential snafus to avoid, performance targets, etc

      Testing Requirements

      • unit test, spec test sync, etc

      Documentation Requirements

      • DOCSP ticket, API docs, etc

      Follow Up Requirements

      • additional tickets to file, required releases, etc

        1. cache.json
          644 kB
        2. index.js
          2 kB
        3. mongoServer.log
          2.06 MB
        4. package.json
          0.2 kB
        5. reproduceReset.js
          6 kB
        6. reproduceReset.log
          4.58 MB
        7. reproduceReset-1.js
          6 kB

            Assignee:
            warren.james@mongodb.com Warren James
            Reporter:
            qingchun.fu@kodak.com qingchun fu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: