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

Test spilling behavior for new set of accumulators

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • QE 2021-11-01, QE 2021-11-15

      This ticket is responsible for adding test coverage around spilling to disk for the new exact top-n accumulators. In particular:

      • Add tests to verify that spilling works correctly for the exact top-n accumulators in jstests/aggregation/spill_to_disk.js
      • Add tests to verify that the 'internalQueryMaxNAccumulatorBytes' memory limit is obeyed in jstests/noPassthrough/agg_configurable_memory_limits.js (that is, if this configured to a low value, any top-n operation will fail).

      Additionally, we should consider updating the error messages for the variousĀ 'ExceededMemoryLimit' uasserts added as part of this project. Specifically, they should clarify that an error was raised because too much memory was used and spilling would not help.

            Assignee:
            mihai.andrei@mongodb.com Mihai Andrei
            Reporter:
            mihai.andrei@mongodb.com Mihai Andrei
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: