[SERVER-82095] Make explain command behave the same in replicaset and sharded cluster when db does not exists Created: 11/Oct/23  Updated: 07/Nov/23  Resolved: 07/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Tommaso Tocci Assignee: Backlog - Query Execution
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-75857 Unify behavior between mongod and mon... In Progress
Related
related to SERVER-82896 Complete TODO listed in SERVER-82095 Backlog
is related to SERVER-74998 Remove deprecated enable_sharding par... Closed
Assigned Teams:
Query Execution
Operating System: ALL
Participants:

 Description   

On replica-set deployments, an explain command sent for a database that doesn't exist will not return an error.

On the other hand on sharded cluster it will return NamespaceNotFound.


Generated at Thu Feb 08 06:48:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.