Better memory management for the Sorter

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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 simpler if there was only one API/implementation for tracking memory usage for the Sorter

            Assignee:
            Unassigned
            Reporter:
            Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: