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

XMLWordPrintableJSON

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

      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:
              [DO NOT USE] Backlog - Query Execution
              Reporter:
              Tommaso Tocci
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: