$push, $addToSet, $setUnion, $concatArrays window functions should respect memory limits

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This is for the classic engine, note that the SBE $addToSet window function already does this. SBE $push does not, SERVER-96224 tracks the work there

      $push should respect internalQueryMaxPushBytes

      $addToSet should respect internalQueryAddToSetBytes

      $setUnion should respect internalQuerySetUnionBytes

      $concatArrays should respect internalQueryConcatArraysBytes

            Assignee:
            Unassigned
            Reporter:
            Militsa Sotirova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: