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

Fix config settings schema modification during fcv upgrade and downgrade

    XMLWordPrintableJSON

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: