Test for new MongoDB server warning logs

XMLWordPrintableJSON

    • 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

            Assignee:
            Unassigned
            Reporter:
            Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: