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

Memory Leak with ReplSet and NodeJS v12

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.1.10, 3.2.7, 3.5.3
    • Fix Version/s: 3.5.5
    • Component/s: None
    • Labels:
      None
    • Environment:
      node js 12.16.0
      mongodb version (3.5.3, 3.2.7, 3.1.10)
      Use replica set
    • MongoDB Version:
      4.0.16

      Description

      Env:

      • node js 12.16.0
      • mongodb version (3.5.3, 3.2.7, 3.1.10)
      • Use replica set

       

       

      Issues with following line of code: https://github.com/mongodb/node-mongodb-native/blob/master/lib/core/topologies/shared.js#L231 

      Since node 12 there is no _called property as a result run timeouts cannot be cleaned up

       

       

        Attachments

          Activity

            People

            Assignee:
            matt.broadstone Matt Broadstone
            Reporter:
            kisel@targetprocess.com Eugene Kisel
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: