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

Fix config settings schema modification during fcv upgrade and downgrade

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc2, 6.3.0-rc0
    • Affects Version/s: 6.2.0-rc1, 6.3.0-rc0
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.2
    • Sharding EMEA 2022-11-28
    • 35

      There are 2 problems with fcv change and the config settings schema. The first is that during fcv downgrade, we are checking the wrong feature flag to guard the config settings schema code. We need to use gConfigSettingsSchema rather than gGlobalIndexesShardingCatalog. The second is that during fcv downgrade, we are setting the schema to an empty schema and turning the validation level to off. When we upgrade, we add the correct schema, but this doesn't reset the validation level to the default, it stays as off. This means that downgrading and then re-upgrading will leave the validation level as off.

            Assignee:
            allison.easton@mongodb.com Allison Easton
            Reporter:
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: