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

If connectWithNoPrimary is true then primary-only connection is not allowed

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.0.43
    • Affects Version/s: 2.0.37
    • Component/s: None
    • Labels:

      If you pass connectWithNoPrimary true and if you have a primary-only connection it will not be considered "connected". I believe this is just because of a tiny bug in mongodb-core. I made a PR to fix the issue: https://github.com/christkv/mongodb-core/pull/44

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            fastest963 James Hartig
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: