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

Add a linter to server_options.h FCV helpers to enforce that they are only used in generic FCV checks

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Replication

      For isLessThanOrEqualTo, isGreaterThan, isGreaterThanOrEqualTo, isLessThan, and isUpgradingOrDowngrading, we should add a linter to ban them unless a comment is added preceding the usage to enforce they are only used in generic FCV checks.

      This will be similar to the generic FCV reference linter

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            huayu.ouyang@mongodb.com Huayu Ouyang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: