-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
QE 2025-01-20, QE 2025-02-03
When using TemporaryRecordStore for spilling, we need to maintain a separate RecoveryUnit.
We already do it in SBE: https://github.com/mongodb/mongo/blob/master/src/mongo/db/exec/sbe/util/spilling.h
We should refactor this code to a common place and use it in other spilling places:
https://github.com/mongodb/mongo/blob/master/src/mongo/db/pipeline/spilling/spillable_map.h
https://github.com/mongodb/mongo/blob/master/src/mongo/db/pipeline/spilling/spillable_deque.h
- is depended on by
-
SERVER-97745 OrStage should spill if allowDiskUse is specified and memory usage has exceeded some limit
-
- Blocked
-
-
SERVER-97746 MergeSortStage should spill if allowDiskUse is specified and memory usage has exceeded some limit
-
- Blocked
-