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

Move memory stats from OpCtx to ClientCursor for sharded multi-batch

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

      Similar to how we did for SERVER-100762, we should transfer the OperationMemoryUsageTracker to the ClientCursor when a sharded query produces more than a single batch, and write a test that shows this works.

      Do this for aggregate() to start, we may need to add more tickets for find(), distinct().

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

              Created:
              Updated:
              None
              None
              None
              None