-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: 4.11
-
Component/s: None
-
None
-
Python Drivers
-
Not Needed
-
None
-
None
-
None
-
None
-
None
-
None
SRV polling dns lookup blocks the asyncio loop. The SrvMonitor class polls DNS periodically but it uses the blocking sync dnspython api to perform the SRV lookup. After switching from SDAM Threads to Tasks in PYTHON-4725 this lookup now blocks all other asyncio tasks.
This will be fixed by PYTHON-3636 but I'm opening a new ticket to highlight the bug.
- is caused by
-
PYTHON-4725 Async client should use tasks for SDAM instead of threads
-
- Closed
-
- is fixed by
-
PYTHON-3636 MongoClient should perform SRV resolution lazily
-
- Closed
-