[SERVER-71410] Fix SeveritySuppressor so that quiet/normal log intervals are correct Created: 16/Nov/22  Updated: 29/Oct/23  Resolved: 22/Nov/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

Type: Bug Priority: Major - P3
Reporter: Blake Oler Assignee: Blake Oler
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-71029 Update slow SessionWorkflow log criteria Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.2
Sprint: Service Arch 2022-11-28
Participants:

 Description   

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.


 Comments   
Comment by Githook User [ 17/Nov/22 ]

Author:

{'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}

Message: SERVER-71410 Fix SeveritySuppressor so that quiet/normal log intervals are correct
Branch: master
https://github.com/mongodb/mongo/commit/e377b81cc3be98a4aeb9081c2110a6a52694a396

Generated at Thu Feb 08 06:18:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.