Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
ALL
Description
In jsTests, with a ReplicaSetConnection:
conn.setReadPref("primary", [{}]);
|
... always results in:
Thu Jan 17 16:51:38.864 javascript execution failed src/mongo/shell/query.js:78 socket error on query
|
this._cursor = this._mongo.find( this._ns , this._query , this._fields , this.
|
[{}] should be treated the same as null, but apparently it's treated some other way.