-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 1.8.1
-
Component/s: Shell
-
None
-
Fully Compatible
Connection string syntax is defined here:
http://www.mongodb.org/display/DOCS/Connections
The shell does not appear to support this syntax at all.
Doing something like the following throws an assertion or simply crashes the shell:
var other_server = new Mongo('mongodb://localhost:6900,localhost:6901 '); // fails
var other_server = new Mongo('mongodb://localhost:6900 '); // also fails
var other_server = connect('mongodb://localhost:6900 '); // fails