[SERVER-33039] mongod/mongos have inconsistent behavior for $collStats with missing db Created: 31/Jan/18  Updated: 06/Dec/22  Resolved: 08/Jun/18

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

Type: Bug Priority: Major - P3
Reporter: Charlie Swanson Assignee: Backlog - Query Team (Inactive)
Resolution: Duplicate Votes: 0
Labels: todo_in_code
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-35479 Make $collStats count behavior have "... Closed
Related
related to SERVER-43497 Complete TODO listed in SERVER-33039 Closed
related to SERVER-44218 Complete TODO listed in SERVER-33039 Closed
Assigned Teams:
Query
Operating System: ALL
Participants:

 Description   

When executing a pipeline starting with $collStats against a non-existent database, a mongod will return an error, but a mongos will return an empty result set.



 Comments   
Comment by David Storch [ 08/Jun/18 ]

Closing as a duplicate of SERVER-35479, since the newer ticket has a more thorough description and additional watchers.

Generated at Thu Feb 08 04:32:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.