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

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

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

      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 Unassigned
            Reporter:
            militsa.sotirova@mongodb.com Militsa Sotirova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: