-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Replication
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
The current way to check if a feature flag is enabled regardless of FCV is:
if (featureFlag.isEnabled( [](auto& fcvGatedFlag) { return fcvGatedFlag.isEnabledAndIgnoreFCVUnsafe(); }))
That can be more complex than necessary.
We can change it to something like:
if (featureFlag.isEnabled(kIgnoringFCV))
to make it easy to read.
We should also change the linter to lint for `kIgnoringFCV` instead of the "(Ignore FCV check)" comment