-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Shell
-
Server Tooling & Methods
I run:
$ mongo MongoDB shell version v4.0.4 ... xxx:SECONDARY> rs.slaveOk() xxx:SECONDARY> db.nonexistingthing.find() xxx:SECONDARY>
It is baffling that it does not report an error. Making a query on nonexisting object. This makes no sense at all. Please fix this ASAP. I just wasted an hour of my life trying to figure out why I didn't get any data.