-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Internal Client
-
None
-
ALL
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
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.