How to Configure MongoClient to connect to next available Mongos

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Cluster Management
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We have two Mongos' running, and our web service is registered with two Mongos' in its connection string. Plz correct me if i am wrong, looks like the MongoClient will connect first Mongos in the connection string.

      Problem: When the first Mongos is down, the MongoClient will not connect to next available Mongos

       

      Expectation: We are not sure if this is possible, we are looking for some help to configure the MongoClient to connect to next available Mongos when the Mongos it's connected fails.

            Assignee:
            Unassigned
            Reporter:
            shen Chen
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: