Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-852

Replace mongos high availability with load balancing

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Major Change

      Aspect of the Server Selection Spec implementation: if given a seed list of mongos addresses, MongoClient must use evenly the nearest one and all those <= latencyThresholdMS farther.

      Replaces prior behavior called "mongos High Availability" or "HA", where MongoClient compared all mongos seeds' latencies and pinned to the nearest one until a network error, then checked their latencies anew.

      This was done or nearly so when we deleted requests and pinning. Verify the work was completed, re-enable and fix mongos HA tests (including in test_ha.py) so they test load-balancing instead, verify that latencyThresholdMS is respected.

      Update docs.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: