SERVER-135754ClosedFixed

Update $sort’s custom comparator to check for interrupt every few thousand documents.

Tune the gap between interrupts to be approximately 5ms. Run extensive performance testing to ensure minimal regressions occur.

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.