SERVER-138874ClosedFixed

Transient negative metric via disabling load shedding during a serverStatus read

{{serverStatus().queryMemory.loadShedding.lowMarkBytes}} can briefly report a negative value when load shedding is disabled at runtime. {{appendQueryMemoryLoadSheddingStats()}} decides {{active}} from the RSS monitor state ([L588|https://github.com/10gen/mongo/blob/8fc0d56da14997f6a5c6b02d20ce941c3cd55ccd/src/mongo/db/memory_tracking/query_memory_load_shedding.cpp#L588]), then separately reads {{queryMemoryLoadSheddingLowMarkPercent}} ([L600|https://github.com/10gen/mongo/blob/8fc0d56da14997f

Affected Versions
Versions known to exhibit this issue
9.1 Required
Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc1025
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.