-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Execution
-
QE 2025-09-01, QE 2025-09-15
-
None
-
None
-
None
-
None
-
None
-
None
-
None
As a part of SPM-4106, we split DocumentSources into QO and QE parts. Memory tracking is only relevant to the QE part, so we should move the relevant data members to the corresponding agg::Stage subclass.
If stages have unit tests that require alternative maxAllowedMemoryUsageBytes settings, this can be done by using RAIIServerParameterControllerForTest scope object instead of passing it as parameter.
As a part of this ticket, we need to move the remains memory-tracking from QO to QE stage (for instance from DocumentSourceGroup and DocumentSourceSort).
1.
|
Move memory tracking from DocumentSourceSort to SortStage | SERVER-110214 |
|
Closed | Daniel Tabacaru | 8.3.0-rc0 |
2.
|
Move memory tracking from DocumentSourceGroup to agg::GroupStage | SERVER-110311 |
|
Needs Scheduling | Unassigned |