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

Replica set connection does not close

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.3
    • Component/s: None
    • Labels:
    • Environment:
      OS X, Node v0.10.29, MongoDB v2.6.3

      Script: https://gist.github.com/evNN/ea170966c078af4c02dc

      I'm connecting to a replica set with a primary, secondary, and arbiter (3 separate boxes). I've replicated the setup on local on the same host name for testing. It seems that this script will never exit because the database connection is never closed when calling `db.close()`. The same behavior is present on our Ubuntu 14.04 boxes as well.

      Any ideas? I've tried force-closing via `db.close(true, cb);` to avail.

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            evan Evan Dudla
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: