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

Add conditional operation-wide memory tracking to GroupProcessorBase

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration

      Currently the $group tracks memory so it knows when it should spill. The memory usage tracker for this lives in GroupProcessor. We should update the group stage so that it checks a feature flag, and if it's true, updates the memory tracker with the upstream operations-scoped tracker, which will report memory for the stage into CurOp.

       

      With this in place, we can write end-to-end JS tests that can show that profiles and slow query logs will show the metrics.

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

              Created:
              Updated: