Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-39121

there are no errors on nonexistent stuff

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Shell
    • Labels:

      Description

      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.

       

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated: