File tree 3 files changed +4
-2
lines changed
3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ Version 4.12.1 is a bug fix release.
16
16
errors such as: "NotImplementedError: Database objects do not implement truth value testing or bool()".
17
17
- Removed Eventlet testing against Python versions newer than 3.9 since
18
18
Eventlet is actively being sunset by its maintainers and has compatibility issues with PyMongo's dnspython dependency.
19
+ - Fixed a bug where MongoDB cluster topology changes could cause asynchronous operations to take much longer to complete
20
+ due to holding the Topology lock while closing stale connections.
19
21
- Fixed a bug that would cause AsyncMongoClient to attempt to use PyOpenSSL when available, resulting in errors such as
20
22
"pymongo.errors.ServerSelectionTimeoutError: 'SSLContext' object has no attribute 'wrap_bio'"
21
23
Original file line number Diff line number Diff line change @@ -850,7 +850,7 @@ async def test_init_disconnected_with_auth(self):
850
850
with self .assertRaises (ConnectionFailure ):
851
851
await c .pymongo_test .test .find_one ()
852
852
853
- @async_client_context .require_no_standalone
853
+ @async_client_context .require_replica_set
854
854
@async_client_context .require_no_load_balancer
855
855
@async_client_context .require_tls
856
856
async def test_init_disconnected_with_srv (self ):
Original file line number Diff line number Diff line change @@ -825,7 +825,7 @@ def test_init_disconnected_with_auth(self):
825
825
with self .assertRaises (ConnectionFailure ):
826
826
c .pymongo_test .test .find_one ()
827
827
828
- @client_context .require_no_standalone
828
+ @client_context .require_replica_set
829
829
@client_context .require_no_load_balancer
830
830
@client_context .require_tls
831
831
def test_init_disconnected_with_srv (self ):
You can’t perform that action at this time.
0 commit comments