-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
QE 2023-08-21, QE 2023-09-04
-
105
AccumulatorState just exposes protected variable for derived classes to track the memory usage: https://github.com/mongodb/mongo/blob/master/src/mongo/db/pipeline/accumulator.h#L167
It is unsafe and causes memory underflow. We should use MemoryUsageTracker and MemoryTokens instead.
- related to
-
SERVER-80284 Complete TODO listed in SERVER-80149
-
- Closed
-