-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Testing
-
3
-
None
-
Developer Tools
Clone of COMPASS-10017 since the same logic applies to mongosh
—
As a compass team, test that there are no new server warning level logs
Context
The freeStorage: 1 parameter is a known anti-pattern that can cause severe performance degradation with large collections. By implementing warning logs when such anti-patterns are detected, we can help customers and support teams identify issues earlier in their workflow.
Acceptance Criteria
- create a test that looks at mongodb logs and throws an error if there is a warning (use getLogs command to retrieve the logs from the cluster)
- create a list of known and allowed warnings to ignore
Related Tickets
- clones
-
COMPASS-10017 Test for new MongoDB server warning logs
-
- Backlog
-
- related to
-
SERVER-113243 Optionally return log lines caused by a command on the command response
-
- Needs Verification
-