[SERVER-61970] Investigate removing references to FCV constants and replacing with feature flags throughout server code Created: 09/Dec/21  Updated: 06/Dec/22  Resolved: 13/Jun/22

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

Type: Improvement Priority: Major - P3
Reporter: Xuerui Fa Assignee: Backlog - Replication Team
Resolution: Duplicate Votes: 0
Labels: former-quick-wins, pm-2821-milestone-1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
Related
related to SERVER-60213 Standardize when to use and remove fe... Closed
is related to SERVER-61967 Ban usages of transitionary FCVs in F... Closed
Assigned Teams:
Replication
Participants:

 Description   

Before feature flags, FCV checks were done within server code by comparing our current FCV to some FCV constant. Now that feature flags are available, they seem to be a better infrastructure for these sort of FCV checks. As a result, we should consider transitioning away from these FCV checks and replacing them with feature flags throughout the code base. This can potentially be done by banning usages of these FCV constants in C++ code, so that they can only be referenced in feature flag IDL files.

We should start by typing up a proposal for this change and sending it to each of the server & query teams. If we do make this change, we should also send out an email to DB contributors regarding this.


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