-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 3.5, 3.6, 3.7, 3.8, 3.9, 3.10
-
Component/s: None
-
None
Discovered while investigating PYTHON-2089; MongoClient.close may actually create new connections during the call to MongoClient._process_periodic_tasks() which in turn calls Topology.update_pool(). This is useless work since the newly created connections are immediately closed. To fix this we should avoid calling Topology.update_pool() when closing a MongoClient.
- is caused by
-
PYTHON-1269 Explicitly closed cursors may not be killed before termination
- Closed