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.
Tune the gap between interrupts to be approximately 5ms. Run extensive performance testing to ensure minimal regressions occur.