ExportXMLWordPrintableJSON

    • 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`.

            Assignee:
            Jan Steemann
            Reporter:
            Jan Steemann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: