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

Explain command returns error when database does not exists

    XMLWordPrintableJSON

Details

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

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: