legacy_commands_check.py reports false positives

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The script just searches for substrings and failed the check when I made a change to mongod_main.cpp, where it declares a subclass of CommandInvocationHooks which clearly shouldn't be reported. We should consider matching ""public Command {" instead, or use regexes to match whole word.

            Assignee:
            David Chen
            Reporter:
            Wei Hu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: