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

Allow SBE compatibility check to distinguish featureFlagSbeFull

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • QE 2023-04-03
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: