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

Validate compound wildcard indexes with downgraded FCV in createIndex command

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc5, 7.0.0-rc6
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v7.0
    • QO 2023-06-26
    • 129

      Currently a mongod fails to startup if there exists any compound wildcard index and the FCV is downgraded below 7.0. We should only ban any new creation of a CWI if FCV < 7.0 but allow CWI's continued use and mongod should start successfully.

       

      Historically, if FCV is downgraded, we choose to fail a start of a mongod with the existence of a new index type in the collection. In order to help customer get out of the situation that the mongod server cannot be restarted after FCV is downgraded and a CWI is not removed, we should still allow the index creation on start up even if FCV < 7.0. Only starting a mongod with the binary version < 7.0 should fail.

            Assignee:
            ruoxin.xu@mongodb.com Ruoxin Xu
            Reporter:
            ruoxin.xu@mongodb.com Ruoxin Xu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: