-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
Fully Compatible
On a mongod, running an explain on a nonexistent database returns a success result with an EOF plan. On a mongos, the same explain will throw an error.
The goal of this ticket is to unify the behavior between the two and have a single agreed-upon response.
- is duplicated by
-
SERVER-79874 Explain command returns error when database does not exists
- Closed
-
SERVER-82095 Make explain command behave the same in replicaset and sharded cluster when db does not exists
- Closed
- related to
-
SERVER-87039 Complete TODO listed in SERVER-75857
- Closed