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

Explain command returns error when database does not exists

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • ALL

      In sharded clusters, the explain command return a NamespaceNotFound error when the database doesn't exist. On the other hand on plain replicaset/standalone deployments the explain command return ok:1 when database doesn't exists.

      The goal of this ticket is to change the behavior of explain command in sharded cluster such that it won't return any error when the database doesn't exist

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

              Created:
              Updated:
              Resolved: