`this.s.topology.unref is not a function` when calling `db.unref()`

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 2.2.0
    • Affects Version/s: 2.1.21
    • Component/s: None
    • Environment:
      node -v
      v5.11.1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      ```
      /opt/ig-test/services/node_modules/mongodb/lib/mongo_client.js:388
      throw err
      ^

      TypeError: this.s.topology.unref is not a function
      at [object Object].Db.unref (/opt/ig-test/services/node_modules/mongodb/lib/db.js:1771:19)
      at /opt/ig-test/services/node_modules/ig-mongo/index.js:45:8
      at /opt/ig-test/services/node_modules/mongodb/lib/mongo_client.js:385:15
      at _combinedTickCallback (node.js:376:9)
      at process._tickDomainCallback (node.js:431:11)
      ```

              Assignee:
              Christian Amor Kvalheim
              Reporter:
              Christian Tellnes
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: