Load balancer support in the driver will require changes to the SRV connection string resolution; specifically, the loadBalanced option can be communicated via TXT record.
Since we perform SRV record resolution in mongosh manually, we’ll need to also update that accordingly. We can look at what the Node.js driver changes are (PR: https://github.com/mongodb/node-mongodb-native/pull/2742, the relevant file is src/connection-string.ts) and migrate those over.
- is depended on by
-
COMPASS-4768 Driver does not consult OS DNS APIs when resolving SRV/TXT/CNAME
- Closed
- related to
-
MONGOSH-733 Driver does not consult OS DNS APIs when resolving SRV/TXT/CNAME
- Closed
-
NODE-3011 Load Balancer Support
- Closed