Details
-
Sub-task
-
Resolution: Done
-
Minor - P4
-
None
-
None
-
None
-
None
Description
According to http://www.mongodb.org/display/DOCS/Connections the delimiter for connection string options is ';' and '&' but the examples below it uses ',' as a delimiter which contradicts the syntax.
Says:
Connect to the first server to respond, whether or not it is part of a replica set or primary or secondary:
mongodb://host1,host2,host3/?connect=direct,slaveok=true
Should be:
Connect to the first server to respond, whether or not it is part of a replica set or primary or secondary:
mongodb://host1,host2,host3/?connect=direct;slaveok=true
Says:
Connect to a replica set with safe mode on, waiting for replication to succeed on at least two machines, with a two second timeout:
mongodb://host1,host2,host3/?safe=true,w=2,wtimeout=2000
Should be:
Connect to a replica set with safe mode on, waiting for replication to succeed on at least two machines, with a two second timeout:
mongodb://host1,host2,host3/?safe=true;w=2;wtimeout=2000