Thread SimpleMemoryUsageTracker through RedactStage

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

      RedactStage will create a SimpleMemoryUsageTracker using createChunkedSimpleMemoryUsageTrackerForStage. No per-stage limit is configured so the default INT_MAX is used. At the start of doGetNext(), the input document size is added to the tracker. The tracker is threaded through RedactProcessor::process() --> Expression::evaluate() via EvaluationContext. The flags gFeatureFlagExpressionMemoryTracking and gFeatureFlagMemoryTracking must be checked before assigning the tracker to the EvaluationContext.

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

              Created:
              Updated:
              Resolved: