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

XMLWordPrintableJSON

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

      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
            Reporter:
            Ruoxin Xu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: