SERVER-135755ClosedFixed

Update $where, idle change-stream/tailable getMore, timeseries create, and $_internalReshardingOwnershipMatch to prevent inflated delinquency metrics on query interrupt.

Currently, if a wait exits as expected, the time waiting is exempted from our delinquency metric tracking. However, when an interrupt does occur during the wait, the flag exempting the time spent in the wait is cleared and the wait time is counted toward delinquency metrics. To fix this, we should reset the delinquency stopwatch at the same location where we unset the exemption flag.

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-rc1025
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.