-
Type:
Task
-
Resolution: Won't Fix
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
In PM-2267 spilling to disk in HashAgg stage was implemented to support $group queries that hit the memory limit and would spill to a WT temp store when allowDiskUse=true.
Given that we will use the HashAgg stage to build a hash table for the foreign side and accumulate the set of documents that satisfy the eq predicate between the local/foreign side keys the current spilling implementation might just work for our use-case.
The owner of this ticket should exercise the spilling implementation in HashAgg and see if it is suitable for HJ plans. If changes need to be made to support HJ plans we should do so under this work.