Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
Needed
-
-
Iteration Düsseldorf
Description
Steps to repro:
- Connect to a TLS-using mongod with --tls (not the connection string flag)
- Use connect(db.getMongo()._uri)
- See it fail because connect did not re-use the --tls flag from the command line
Generally speaking, I think we need to check how command line arguments affect connect() and [new] Mongo() and make sure that we emulate the legacy shell’s behavior (connect uses the Mongo constructor under the hood, i.e. they have the same behavior here).
Attachments
Issue Links
- related to
-
MONGOSH-661 Use Mongo constructor to create initial connection
-
- Open
-