-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
Query Execution
-
Fully Compatible
-
Query 2017-01-23
-
(copied to CRM)
$graphLookup should spill to disk when the size of the frontier and the visited set exceeds the maximum memory usage. In particular, DocumentSourceGraphLookUp::checkMemoryUsage() should be modified to spill if the size of the two data structures is too large. Second, any place where the frontier or visited set is iterated will need to be updated to use a file iterator if it has spilled to disk.
- depends on
-
SERVER-23725 Implement $graphLookup.
- Closed
- is duplicated by
-
SERVER-38632 allowDiskUse(true) does not work as expected
- Closed
- is related to
-
SERVER-74370 100MB stage memory limit for $graphLookup stage limits usability
- Backlog
- related to
-
SERVER-84427 Add a query knob to configure $graphLookup memory limit
- In Code Review