Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-3287

How to Configure MongoClient to connect to next available Mongos

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Cluster Management
    • Labels:
      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 Unassigned
            Reporter:
            schen@amica.com shen Chen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: