Commit Graph

6 Commits

Author SHA1 Message Date
Shane Harvey
5ec4e6cc4c
PYTHON-3027 Fix server selection when topology type is Unknown (#806) 2021-12-02 13:45:50 -08:00
Shane Harvey
a7921604f1
PYTHON-2768 Add SDAM and server selection spec tests for load balancers (#655) 2021-06-24 12:32:52 -07:00
Shane Harvey
2a74601572
PYTHON-2676 Unified Test Runner changes in preparation for Load Balancer Support (#623)
Resync crud, change stream, SDAM, server_selection, transactions, uri-options, tests.
PYTHON-2348 Correctly express lack of event assertions in change stream tests.
2021-05-18 10:20:36 -07:00
Shane Harvey
e95d2187b6
PYTHON-2395 Consider connection pool health during server selection (#515)
Change the driver to maintain a count of in-progress operations to each
server (per client). When selecting a mongos server, the driver now picks
2 suitable servers at random and selects the server with fewer in-progress
operations. Previously, the driver selected a mongos server at random.
The new behavior is intended to route operations away from unhealthy or
slow servers in highly concurrent single client workloads.

PYTHON-2460 Only reset Pool.active_sockets to 0 after a fork()
2020-12-07 10:41:39 -10:00
Luke Lovett
6a7fd7339b Resync server selection and max staleness tests from the specifications repository.
Convert milliseconds to seconds properly in test runner for server selection.
2016-08-11 16:27:17 -07:00
aherlihy
ec213e0067 PYTHON-815: Added YAML tests for server selection. 2015-03-06 15:21:24 -05:00