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

Test spilling behavior for new set of accumulators

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      QE 2021-11-01, QE 2021-11-15

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: