[SERVER-80071] Feature Flag Upgrade/Downgrade Testing Created: 15/Aug/23  Updated: 20/Sep/23

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: PM Bot Assignee: Backlog - Replication Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Replication
Participants:

 Description   

If this project includes a feature flag, please complete all upgrade/downgrade testing as part of this ticket.

1. Test how the feature behaves when upgrading FCV turns the feature on
2. Test that the correct behavior occurs when downgrading FCV completely and then upgrading FCV completely
3. Test that the correct feature behavior occurs if the FCV downgrade fails after only reaching the `downgrading` FCV state and then FCV is fully upgraded again
4. Test that anything added by this project to the setFCV command must be idempotent/retryable.

There are dbcheck oplog entry changes so we should also test specific cases like:

  • test that a primary with upgraded binary, feature flag off works with a secondary on a downgraded binary.
  • primary with upgraded binary, feature flag on works with secondary with upgraded binary, feature flag off (like if the secondary is still in the upgrading FCV), although not sure if this case is possible
  • primary with downgraded binary, secondary with upgraded binary, feature flag off

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