Details
-
Task
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
Developer Tools
-
3
Description
Problem Statement/Rationale
As reported in the linked ticket HELP-54789, gathering collection stats for a view pops up a CommandNotSupportedOnView error in mongo server log.
We should investigate filtering out views before gathering collection stats for our collections since it is also well documented that - Performing $collStats with the storageStats option on a view results in an error.
Please be sure to attach relevant logs with any sensitive data redacted.
How to retrieve logs for: Compass; Shell
Steps to Reproduce
- Create a view on a database
- Open Compass and go to collection list of the database where you created the view
- Check mongo server logs for the error CommandNotSupportedOnView
Expected Results
Compass should not gather collection stats for a view
Actual Results
Compass is gathering collection status for a view