API documentation for MongoClient 3.0+ should describe mongos round-robin selection

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • 3.3.0
    • Affects Version/s: 3.2.0
    • Component/s: Documentation
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In the API documentation for the 3.0+ MongoClient options:
      http://api.mongodb.org/java/3.0/?com/mongodb/MongoClientOptions.html

      When using a List of servers it states:

      If this is a list of mongos servers, it will pick the closest (lowest ping time) one to send all requests to, and automatically fail over to the next server if the closest is down.

      But with 3.0+ this is no longer true, as described in
      MongoClientOptions.getLocalThreshold():

      Gets the local threshold. When choosing among multiple MongoDB servers to send a request, the MongoClient will only send that request to a server whose ping time is less than or equal to the server with the fastest ping time plus the local threshold.

            Assignee:
            Jeffrey Yemin
            Reporter:
            Roger McCoy (Inactive)
            None
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: