-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Query Execution
-
None
-
Query Execution
-
Fully Compatible
-
QE 2026-09-15, QE 2026-09-28
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The sort loop calls `memoryTracker.set(_sorter->stats().memUsage())` for every input row. A simple tracker propagates the exact delta to CurOp on every call.
The chunked variant only reports once the change crosses a chunk boundary. The chunked tracker is already used by `HashAggStage`, `BlockHashAggStage`, `WindowStage`, and `UniqueStage`.