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

Finish AllCommandsTest for downgrading to upgraded path

    • Replication
    • Fully Compatible
    • Repl 2023-03-06, Repl 2023-03-20

      We should finish implementing commands marked as isNotImplementedYet and make sure that commands marked as internal only are tested through passthrough suites.

      We should also investigate how to handle newly added commands that are either under a feature flag or were just released. These commands should be run in the AllCommandsTest when we are in latest (and if the feature flag is turned on if the command is under a feature flag still), but once we are in the downgradingToLastLTS FCV we should skip the command since the command doesn't exist yet.

      The AllCommandsTest uses listCommands to list all commands, which will list all commands regardless of FCV, and will list feature flagged commands if they are not registered with MONGO_REGISTER_FEATURE_FLAGGED_COMMAND. So for each command that should not be run in the downgradingToLastLTS FCV we will need to add a boolean field to skip that command during downgradingToLastLTS, and it should be up to each server project to add a TODO ticket to remove that boolean field once the command/feature flag's version has reached lastLTS.

            Assignee:
            huayu.ouyang@mongodb.com Huayu Ouyang
            Reporter:
            huayu.ouyang@mongodb.com Huayu Ouyang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: