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

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • ALL

      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

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: