-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
-
Fully Compatible
-
Storage Execution 2026-05-11
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Add test coverage for the container-based sorter/spiller backend in cases that do not require resumability support (SERVER-120078).
Tests to be parameterized or moved:
- InMemIterTest::SpillDoesNotChangeResultAndUpdateStatistics — parameterize over both FileTraits<> and ContainerTraits<>. Tracker-level assertions (spilledRanges, spilledKeyValuePairs, bytesSpilled*) apply to both backends; file-stats assertions are gated on kHasFileStats.
- FileBasedMakeFromExistingRangesTest::SkipFileCheckingOnEmptyRanges — move to MakeFromExistingRangesTest (already parameterized over both backends). The test passes empty ranges, so no data is read from the resumed spiller; ContainerTraits::makeSpillerForResume needs only a minimal stub returning a fresh spiller.
No changes to production source are required.
- is depended on by
-
SERVER-114080 Ensure testing for container-based sorter storage is on-par with file-based sorter storage
-
- Closed
-
- is related to
-
SERVER-120078 Implement the containerTraits shim functions that provide resume-ability testing and parameterize tests that need it
-
- Closed
-