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

Support redundant mongos connections

    XMLWordPrintable

Details

    Description

      Add support for a redundant connection mode to mongos instances much like connecting to replicasets work.

      Mongo constructor that takes a seed list should detect whether it is a list of mongos instances or a list of replica set members. If the latter, it should work the same as now. If the former, the driver should select the mongos with the lowest ping time and send all traffic to it, failing over if that one becomes unavailable.

      Attachments

        Issue Links

          Activity

            People

              jeff.yemin@mongodb.com Jeffrey Yemin
              scotthernandez Scott Hernandez
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: