[COMPASS-4752] Compass Shell Bug when using db.stats() Created: 09/Apr/21  Updated: 29/Oct/23  Resolved: 21/Apr/21

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: 1.26.0
Fix Version/s: 1.26.1

Type: Task Priority: Minor - P4
Reporter: Jeffrey Cheak Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: JPEG File FF47219F-A752-49C6-8071-823A90CFE6CB.jpeg    
Issue Links:
Related
is related to MONGOSH-555 db.stats() always returns stats for a... Closed
Documentation Changes: Not Needed

 Description   

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.


Generated at Wed Feb 07 22:37:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.