[SERVER-70870] Always have Sorter manage memory pool Created: 26/Oct/22  Updated: 05/Dec/22

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Louis Williams Assignee: Backlog - Storage Execution Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Storage Execution
Participants:

 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.


Generated at Thu Feb 08 06:17:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.