-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Testing
-
Environment:OS:
node.js / npm versions:
Additional info:
-
3
-
None
-
Developer Tools
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
- is cloned by
-
MONGOSH-2988 Test for new MongoDB server warning logs
-
- Needs Triage
-
- is duplicated by
-
COMPASS-10018 Investigate E2E test coverage for performance warning detection
-
- Closed
-
- related to
-
SERVER-113243 Optionally return log lines caused by a command on the command response
-
- Needs Verification
-