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

Make ServerParameter conditions operation FCV aware

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 8.2.0-rc0
    • Component/s: None
    • Catalog and Routing
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Server parameters can be made conditional on either a minimum FCV or a feature flag in the IDL definitions, as follows:

          spTestNeedsFeatureFlagToaster:
            description: "Server Parameter gated on featureFlagToaster"
            set_at: runtime
            cpp_varname: gSPTestFeatureFlagToaster
            cpp_vartype: bool
            condition:
              feature_flag: gFeatureFlagToaster
              min_fcv: 8.1
      

      This is currently implemented as ServerParameter acquiring a global FCV snapshot and using this as the basis for checking is the minimum FCV or feature flag condition is fulfilled..

      This logic should be adapted to also take Operation FCV into account.

            Assignee:
            robert.sander@mongodb.com Robert Sander
            Reporter:
            joan.bruguera-mico@mongodb.com Joan Bruguera Micó
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: