[SERVER-49070] Add FCV gating helpers Created: 24/Jun/20  Updated: 29/Oct/23  Resolved: 25/Jul/20

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Task Priority: Major - P3
Reporter: Jason Chan Assignee: Grace Luong (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-48044 FCV::isVersion should invariant if FC... Closed
Related
is related to SERVER-50264 Better FeatureCompatibility const cor... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2020-07-27
Participants:

 Description   

Add helpers for FCV-gating features using inequality comparisons. FCV checks contain references to tickets for their removal. Use these helpers for all FCV checks.

And remove isVersion().



 Comments   
Comment by Githook User [ 25/Jul/20 ]

Author:

{'name': 'Grace Luong', 'email': 'grace.luong@mongodb.com', 'username': 'graceluong'}

Message: SERVER-49070: add and use FCV gating helpers
Branch: master
https://github.com/mongodb/mongo/commit/0045dc81dfadc33d60130dbb575a7a0a74305924

Comment by Jason Chan [ 07/Jul/20 ]

Part of this ticket will include updating FCV checks that check for equality (!=, ==) to instead use isLessThanOrEqualTo/isGreaterThanOrEqualTo helpers. This will require investigation with authors of these FCV checks to make sure we are updating them properly. We need to make sure these FCV checks are still valid after making it possible to upgrade/downgrade from both lastLTS and lastContinuous.

An example of this would be here.

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