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

Develop generalized mechanism for set[Cluster]Parameter FCV gating

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Security 2022-08-22, Security 2022-09-05, Security 2022-09-19, Security 2022-10-31, Security 2022-11-14, Security 2022-11-28

    Description

      setClusterParameter and getClusterParameter are gated behind FCV 6.0, as implemented in SERVER-62266. As new cluster server parameters are introduced to the server for FCV > 6.0, we will need a finer way of ensuring that specific parameters are restricted from being set after downgrade even as the commands themselves remain available. 

      Add a minimum FCV IDL option to server parameters. When set, if the FCV currently known to the server (note: mongos is unaware of the FCV, so this does not apply) is less than the set minimum FCV, the parameter will be disabled, and setParameter and getParameter will fail.

      For cluster server parameters, upon FCV downgrade, if the new FCV is less than the set minimum FCV, the parameter's value will be deleted from storage. Also, while getClusterParameter will still succeed on mongos if the cluster's FCV is less than the minimum FCV, setClusterParameter will fail in this case.

      Attachments

        Activity

          People

            gabriel.marks@mongodb.com Gabriel Marks
            varun.ravichandran@mongodb.com Varun Ravichandran
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: