Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-71410

Fix SeveritySuppressor so that quiet/normal log intervals are correct

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.2
    • Service Arch 2022-11-28

      Class reference

      Generic expectation of SeveritySuppressor

      1. For a given log statement, log the first occurrence at severity level normal.
      2. For a duration period, log subsequent occurrences at severity level quiet.
      3. Once period has lapsed, log the next occurrence at severity level normal.
      4. Go to step 2.

      Current behavior

      1. For a given log statement, log the first occurrence at severity level quiet.
      2. For a fixed duration of one second, log subsequent occurrences at severity level normal.
      3. Once that duration has lapsed, log the next occurrence at severity level quiet.
      4. Go to step 2.

      Existing bugs

      • Instead of using period, the SeveritySuppressor uses a fixed duration.
      • Instead of quiescing all logs during period, we only quiesce one log every time period occurs.

            Assignee:
            blake.oler@mongodb.com Blake Oler
            Reporter:
            blake.oler@mongodb.com Blake Oler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: