Details
-
Improvement
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
None
-
Storage Execution
Description
In SERVER-68125 we made a change to the Sorter so that it can maintain a pool of memory that callers then use to allocate their data to sort. The issue with the current API is that we can't force callers to use the memory pool. If I have a piece of data I want to sort, I just implement the memUsageForSorter() function.
It would be a lot safer, nicer on the allocator, and simplify the Sorter if all callers had to use the memory pool in the sorter.