-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
-
None
-
3
-
TBD
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Currently the memory tracking unit tests test for non-zero memory usage to make sure that we are always accounting for memory usage in different execution paths, but also to give flexibility in adding more memory accounting later on
We could consider adding asserts for an exact amount of bytes used, but that may be flakey on evergreen depending on the machine type. As a compromise, we could consider adding asserts that the memory reported should be in a certain range: e.g. if we are here, the bytes used should be non-zero but also less than X (X could be something like the internal memory limit of the stage, or 2x the size of the raw data used in the test).
- is related to
-
SERVER-108665 Typo in PlanStage Sort related to memory tracking
-
- Closed
-