Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-70870

Always have Sorter manage memory pool

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 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.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: