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

Improve the check for unpack stage compatibility with SBE

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • None
    • None
    • None
    • Query Integration
    • Fully Compatible
    • QI 2023-11-13

    Description

      Currently, in DocumentSourceInternalUnpackBucket::isSbeCompatible() we consider the unpack stage to be incompatible with SBE if there is an incompatible expr anywhere in the pipeline. This would prevent the stage from lowering to SBE if there are stages later in the pipeline that use expressions, not compatible with SBE.

      This would complicate the test matrix (especially for perf) and potentially confuse the end-users and support as lowering of bucket unpacking will be affected by unrelated parts of the pipeline.

      Attachments

        Activity

          People

            gil.alon@mongodb.com Gil Alon
            irina.yatsenko@mongodb.com Irina Yatsenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: