[SERVER-71480] Reduce logging frequency of "Slow session workflow loop" Created: 18/Nov/22 Updated: 23/Nov/22 Resolved: 23/Nov/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Louis Williams | Assignee: | Blake Oler |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Sprint: | Service Arch 2022-11-28 | ||||||||
| Participants: | |||||||||
| Description |
|
On a completely idle mongod, this log message is reported every 10 seconds:
It seems like the intention of this log message is to indicate an abnormality, but it is actually being logged in the steady state of the system. We should avoid logging it so frequently. |
| Comments |
| Comment by Blake Oler [ 23/Nov/22 ] |
|
Seeing this log message every ten seconds on a connection that lasts ten seconds makes sense – the threshold is 100ms to make a slow operation (and its underlying connection!). I'd actually say that the log isn't the issue here – why do we have an operation that sits around for ten seconds? Should such an operation be excluded from the slow SessionWorkflow log catcher? I'm interested in seeing the logs for this. This is all mainly a moot point, though – I'm closing this as resolved by/a duplicate of |