Optimize VersionContext::getOperationFCV into FCVGatedFeatureFlag::isEnabled

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: 8.1.0-rc0, 8.2.0-rc0
    • Component/s: Upgrade/Downgrade
    • None
    • Catalog and Routing
    • Fully Compatible
    • v8.1
    • CAR Team 2025-03-17
    • 200
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-99351 incorporated Operation FCV into the FCV-gated Feature Flag API. This requires calling VersionContext::getOperationFCV() from within FCVGatedFeatureFlag::isEnabled(...).

      Since feature flag checks are run from many places and thus are relevant from performance, we should ensure that the generated code for VersionContext::getOperationFCV() is well-optimized and that it gets inlined into a simple instruction sequence into FCVGatedFeatureFlag::isEnabled(...).

              Assignee:
              Joan Bruguera Micó
              Reporter:
              Joan Bruguera Micó
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: