-
Type:
Story
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Environment:OS:
node.js / npm versions:
Additional info:
-
None
-
None
-
Developer Tools
As a compass team, we need to alert/detect users when they're using known performance anti-patterns.
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
- Implement detection logic for known performance anti-patterns (e.g., freeStorage: 1 with large collections)
- Add warning logs when anti-patterns are detected
- Include guidance in warning messages on when these parameters should/shouldn't be used
- Ensure warnings are visible in customer logs and Data Explorer UI
- Document the warning messages and detection logic
Related Tickets
- related to
-
SERVER-113243 Optionally return log lines caused by a command on the command response
-
- Needs Verification
-