Add JS Library for testing memory tracking for stages

XMLWordPrintableJSON

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

      We should build on the work in SERVER-100761 and refactor the tests such that we verify that we have memory stats for all of our output channels:

      • slow query log lines
      • Profiles
      • Explain execution stats
      • $currentOp

      It should be just one line or a couple of lines to test that we produce memory stats. Here is an example:

      runMemoryStatsTest({pipeline=[{$group: {_id: 0, {a: {$push: '$foo'}])
      

       

            Assignee:
            Erin Liang
            Reporter:
            Chris Wolff
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: