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

Move memory tracking files

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible

      There are some types in the memory tracking files in src/mongo/util that are used only by query, and some that are used only by the streams module, and some items that are unused. We should move the query-related ones to src/mongo/db/memory_tracking. The items used by streams we should leave as-is but update the OWNERS.yml file so that they are owned by streams as well as Server Programmability (who owns the src/mongo/util directory). We can just delete the unused items.

       

      The is a description of the various items and who uses them currently:

      memory_usage_tracker.h used by
      MemoryUsageTracker query
      SimpleMemoryUsageTracker query
      MemoryUsageToken query
      MemoryUsageHandle streams module (move to chunked_memory_aggregator.h)
      concurrent_memory_aggregator used by
      ConcurrentMemoryAggregator streams module
      chunked_memory_aggregator used by
      MemoryUsageHandle streams module
      ChunkedMemoryUsageToken unused (okay to delete)

       

            Assignee:
            erin.liang@mongodb.com Erin Liang
            Reporter:
            chris.wolff@mongodb.com Chris Wolff
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: