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

Allow collection validation to validate compound wildcard indexes even if the FCV is below 7.0

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • QO 2023-04-03
    • 135

      We check FCV before any CWI validation in order to ban the creation of a CWI if FCV is below 7.0. However, collection validation takes the same path for index validation. So users could validate the collection after FCV is downgraded, but would fail to validate because we fail the index key pattern validation if FCV < 7.0. Therefore, we should allow validating CWI during collection validation regardless of the FCV, just as we allow the continued use of CWI after FCV is downgraded.

       

      To allow collection validation to validate CWI in the catalog even after FCV is downgraded, we should skip checking the FCV if we are in a process of collection validation. 

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

              Created:
              Updated:
              Resolved: