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

Allow SBE compatibility check to distinguish featureFlagSbeFull

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • QE 2023-04-03

    Description

      Currently the "sbeCompatible" and "sbeGroupCompatible" flags are used to check whether the expressions and accumulators are supported in SBE. The values are of boolean type, but we really have three levels of support in SBE, given that some SBE-compatible features are not enabled if "featureFlagSbeFull" is not enabled. So we should change that value to an enum.

      Alternatively, we could set the "sbeCompatible" flag to false if the "featureFlagSbeFull" is false. But that's slightly hacky, and we would need to scatter the check of "featureFlagSbeFull" in multiple places. Capture the real level of compatibility seems appropriate.

      Attachments

        Activity

          People

            rui.liu@mongodb.com Rui Liu
            rui.liu@mongodb.com Rui Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: