Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
QE 2023-08-21, QE 2023-09-04
-
105
Description
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.
Attachments
Issue Links
- related to
-
SERVER-80284 Complete TODO listed in SERVER-80149
-
- Closed
-