PYTHON-5731 - Server selection deprioritization only for overload errors on replica sets#2710
PYTHON-5731 - Server selection deprioritization only for overload errors on replica sets#2710NoahStapp wants to merge 4 commits intomongodb:masterfrom
Conversation
…ors on replica sets
|
Ah, this failure looks relevant: https://spruce.mongodb.com/task/mongo_python_driver_mongodb_v4.2_test_server_version_python3.11_async_noauth_nossl_replica_set_cov_patch_b60d266ad772b7a6b872fbef1aeebb722d78a855_69978942b8e2d70007b4f7a0_26_02_19_22_05_56/tests?execution=0&sorts=STATUS%3AASC The others are addressed by #2709 |
Fixed, failPoint support for errorLabels was added in 4.3. |
|
|
||
| @async_client_context.require_replica_set | ||
| @async_client_context.require_failCommand_fail_point | ||
| @async_client_context.require_version_min(4, 4, 0) |
There was a problem hiding this comment.
For these tests do we need to use require_secondaries_count?
There was a problem hiding this comment.
Good catch. These require at least one secondary.
There was a problem hiding this comment.
What's the minimum definition of a replica set?
There was a problem hiding this comment.
A single member replica set is the min.
First implementation of DRIVERS-3404.