[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: |
|
||||||||
| Issue Links: |
|
||||||||
| 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. |