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

there are no errors on nonexistent stuff

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Won't Fix
    • None
    • None
    • Shell

    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

            backlog-server-stm Backlog - Server Tooling and Methods (STM) (Inactive)
            indrek Indrek Mandre
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: