SERVER-138484ClosedFixed

Always report QMLS counters in serverStatus, even when load shedding is disabled

{{serverStatus().queryMemory.loadShedding}} is omitted whenever load shedding is disabled ({{{}queryMemoryLoadSheddingLowMarkPercent{}}} = -1), because of the early return in {{{}appendQueryMemoryLoadSheddingStats(){}}}. Mongotune switches shedding on and off over time, so consumers see gaps in the cumulative {{operationsShed}} / {{idleCursorsShed}} / {{idleCursorBytesShed}} counters. Atlas auto-scaling (TUNE-1578) will compute a rate from {{{}operationsShed{}}}. It treats missing samples as

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc10259.0.9
Components
Server components related to this issue
DiagnosticsQuery Execution
Labels
Tags and classification

No labels assigned.