SERVER-100032Backlog

Add total spilling in explain output

SPM-3701 added four spilling metrics in all stages that spill * spills // The number of times the stage has spilled * spilledBytes // The amount in bytes of main memory that has been spilled * spilledRecords // The number of records that have been spilled * spilledDataStorageSize // The amount in bytes that spilling has taken up on disk The stages report those metrics in their explain output but there is no accumulated result for the whole query. It would be nice to report the total of

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
explainneweng