-
Type: Task
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: CLI Module
-
None
-
2
-
Not Needed
-
Iteration Reno
$ mongosh mongodb://nonexistenthost/?loadBalanced=true Current Mongosh Log ID: 619cf8b48bfec0f2d79fd5bd Connecting to: mongodb://nonexistenthost/?loadBalanced=true Using MongoDB: undefined Using Mongosh: 1.1.2 For mongosh info see: https://docs.mongodb.com/mongodb-shell/ test>
mongosh only starts failing once any actual integration with the database is attempted. We should probably try to run e.g. a ping command and print a startup warning if that fails. This also happens when --apiVersion n is specified for a service that doesn’t support API versioning (e.g. 4.x servers).
- is related to
-
COMPASS-5341 Ensure that connecting with loadBalanced=true to unavailable host fails
- Closed