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

Don't execute $addFields in SBE when it is part of $setWindowFields

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0, 7.2.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v7.2
    • QE 2023-11-27, QE 2023-12-11
    • 120

      Executing in SBE $addFields that is part of a $setWindowFields gives a regression in the default variant that executes $setWindowsField in classic. To mitigate this issue we will not push in SBE `$addFields` that is part of `$setWindowFields` until `$setWindowFields` has been pushed in SBE and the performance regression has been fixed.

       

            Assignee:
            foteini.alvanaki@mongodb.com Foteini Alvanaki
            Reporter:
            foteini.alvanaki@mongodb.com Foteini Alvanaki
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: