Create stage query knobs

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Add a memory knob for each one of the classic stages for which we thread the tracker through (SingleDocumentTransformationStage, MatchStage, LookUpStage, RedactStage). This knob will be used to bound the memory usage of the expressions, as a safeguard, until the per-query limit is set.

      One per-stage limit covers all expressions uniformly, replaces N per-expression knobs, reuses the existing assertWithinMemoryLimit path (no per-expression code), and is always-on with a finite default, independent of the per-query limit. The default is 100MB, the standard default for our other memory limits, including the existing per-expression ones.

            Assignee:
            Foteini Alvanaki
            Reporter:
            Foteini Alvanaki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: