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

Modify api mongo_client to support passed in more hosts

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

      I think if we can modify the mongo_client api or create another api to let the users can passin more hosts nor the only one. like

      mongo_client("localhost:27018,rock.mongodb.example.com");

      This will break the backward compatibility, but looks more consistant with other drivers.

      Especially it's convient when we can support auto failover and other more useful functionalities in the future?

            Assignee:
            gjmurakami Gary Murakami
            Reporter:
            rockli Rock Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: