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

Optimize VersionContext::getOperationFCV into FCVGatedFeatureFlag::isEnabled

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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
    • 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-mico@mongodb.com Joan Bruguera Micó
            Reporter:
            joan.bruguera-mico@mongodb.com Joan Bruguera Micó
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None