Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-222

FreeBSD version of mongo_replica_set_client() doesn't resolve hostnames

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

      I have trouble on FreeBSD: mongo_replica_set_client() calls db.isMaster() and if hosts were configured with their hostnames (not IPs), it returns error “can't find primary in replica set (6)” because of it doesn't resolve hostnames. I use version 0.7 of mongo c driver.

            Assignee:
            gjmurakami Gary Murakami
            Reporter:
            visualdoj Victor Matuzenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: