[COMPASS-7590] Filter out views from the list of collections before gathering collection stats Created: 26/Jan/24 Updated: 26/Jan/24 |
|
| Status: | Needs Triage |
| Project: | Compass |
| Component/s: | Collection |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Himanshu Singh | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Assigned Teams: |
Developer Tools
|
||||
| Story Points: | 3 | ||||
| Description |
Problem Statement/RationaleAs 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. Steps to Reproduce
Expected ResultsCompass should not gather collection stats for a view Actual ResultsCompass is gathering collection status for a view Additional Notes |