Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
None
-
Fully Compatible
-
ALL
-
v3.4, v3.2
-
-
Platforms 2017-10-02, Platforms 2017-10-23
Description
The function startParallelShell in server_misc.js is expecting the host attribute of the Mongo object (from db.getMongo()) to have the following format <host>:<port>.
But when the mongo shell is started with a replica set connection string it is not the case.
The host attribute is an internal connection string with the format <replica set name>/<host1>:<port1>,<host2>:<port2>,.... And an error will occur when trying to use startParallelShell.
Attachments
Issue Links
- depends on
-
SERVER-22382 mongo shell should accept mongodb:// URI for --host
-
- Closed
-
- is depended on by
-
SERVER-32691 Create passthrough for w="majority" with 2-node replica set to address lost test coverage
-
- Closed
-