-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Storage Execution
-
ALL
-
Execution Team 2024-09-16, Execution Team 2024-09-30
When converting an index to be unique, we accumulate all duplicates in a vector while scanning the entire index. We impose no memory limit and no spilling.
On top of that, if the number of duplicates exceeds the 16MB BSON limit, we will fail to return a command response. We do, however, limit the memory when returning a command response.