Update FCV generic constant clang tidy rule to work with FCV Snapshot

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • ALL
    • Repl 2024-03-18
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In SERVER-67234 we added a clang tidy rule to ban uses of FCV constants, but since we changed getting the FCV from mongo::multiversion::FeatureCompatibilityVersion to FCVSnapshot this rule does not work anymore (see here).

              Assignee:
              Jiawei Yang
              Reporter:
              Huayu Ouyang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: