[SERVER-69753] Finish AllCommandsTest for downgrading to upgraded path Created: 15/Sep/22  Updated: 29/Oct/23  Resolved: 17/Mar/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Huayu Ouyang Assignee: Huayu Ouyang
Resolution: Fixed Votes: 0
Labels: milestone-1, pm-2974-required
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-68146 Test running all commands in the down... Closed
Assigned Teams:
Replication
Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-03-06, Repl 2023-03-20
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 17/Mar/23 ]

Author:

{'name': 'Huayu Ouyang', 'email': 'huayu.ouyang@mongodb.com', 'username': 'huayu-ouyang'}

Message: SERVER-69753 Finish AllCommandsTest for downgrading to upgraded path
Branch: master
https://github.com/mongodb/mongo/commit/326c54726acb6b6c0869dde300c529c582b74292

Comment by Githook User [ 28/Sep/22 ]

Author:

{'name': 'Huayu Ouyang', 'email': 'huayu.ouyang@mongodb.com', 'username': 'huayu-ouyang'}

Message: SERVER-69889 Fix TODO ticket number to SERVER-69753
Branch: master
https://github.com/mongodb/mongo/commit/046eb30108cae9b4bb53be069f40d0dd8d5411fd

Generated at Thu Feb 08 06:14:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.