SERVER-137476ClosedDuplicate

Check for interrupts during query sort spill flushing

h2. Problem Query sort spill flushing can run for over a second without observing cancellation. This occurs in both classic and SBE file-based sorters and is separate from the unchecked std::sort comparison phase. h2. Reproduction Validated on master 59767b3c795 on ARM, using real data without failpoints or injected delays. # Insert 120,000 documents with a random sort key and a 2KB string payload. # Set internalQueryFrameworkControl to forceClassicEngine or trySbeEngine and internalQueryMaxBlo

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.