Skip to content

Fix AsyncMongoClient SRV resolution in Ray worker contexts#1

Merged
Johnnykoch02 merged 1 commit intomasterfrom
fix/ray-worker-async-client
Sep 15, 2025
Merged

Fix AsyncMongoClient SRV resolution in Ray worker contexts#1
Johnnykoch02 merged 1 commit intomasterfrom
fix/ray-worker-async-client

Conversation

@Johnnykoch02
Copy link
Copy Markdown
Member

  • Add dedicated async DNS resolver with Google DNS servers (8.8.8.8, 8.8.4.4)
  • Bypass local DNS configuration issues in Ray worker processes
  • Use clean resolver configuration without /etc/resolv.conf inheritance
  • Maintain backward compatibility with existing sync functionality
  • Resolves timeout issues with MongoDB Atlas SRV record resolution in Ray workers

Tested with Ray worker scenarios - all async operations now pass successfully.

- Add dedicated async DNS resolver with Google DNS servers (8.8.8.8, 8.8.4.4)
- Bypass local DNS configuration issues in Ray worker processes
- Use clean resolver configuration without /etc/resolv.conf inheritance
- Maintain backward compatibility with existing sync functionality
- Resolves timeout issues with MongoDB Atlas SRV record resolution in Ray workers

Tested with Ray worker scenarios - all async operations now pass successfully.
@Johnnykoch02 Johnnykoch02 merged commit 36ae008 into master Sep 15, 2025
@Johnnykoch02 Johnnykoch02 deleted the fix/ray-worker-async-client branch September 15, 2025 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant