-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
Labels:None
-
Fully Compatible
-
ALL
-
v4.2, v4.0, v3.6, v3.4
-
Query 2019-11-18
-
(copied to CRM)
SERVER-43944 describes a more pervasive problem, but it's probably the case that $push and $addToSet are the worst offenders and not too difficult to fix. Let's start with those two and leave SERVER-43944 to track the more general problem which is likely more complex.
- is documented by
-
DOCS-13213 Investigate changes in SERVER-44174: $push and $addToSet should restrict memory usage
- Closed
- related to
-
SERVER-43944 Accumulators (and possibly expressions) can allocate large amounts of memory
- Backlog
-
SERVER-73315 Guardrail to prevent an accumulator from using too much memory is ineffective when DocumentSourceGroup spills to disk
- Closed
-
SERVER-44869 Add query knob to control memory limit for $push and $addToSet
- Closed
-
SERVER-49027 Extend $group explain execution stats to report memory consumption per accumulator
- Closed