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

Make find command behave the same in replicaset and sharded cluster when db does not exists

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Query Execution
    • ALL

    Description

      On replica-set deployments, a find command with an invalid namespace sent on a database that doesn't exist will fail with InvalidNamespace.

      On the other hand on sharded cluster same command will work just fine and return no results.

       

       

      Additionally

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: