-
Type: Task
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: 1.26.0
-
Component/s: None
-
None
-
Not Needed
db.stats() doesn't seem to operate on the correct database when switching to a new database. It defaults to admin database.
Work around: Use the regular Mongo shell at the command prompts in the OS of your choice.
- is related to
-
MONGOSH-555 db.stats() always returns stats for admin db
- Closed