-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Replication
-
Fully Compatible
-
Repl 2023-05-01
Currently FeatureFlag::isEnabled() does not check if serverGlobalParams.featureCompatibility.isVersionInitialized(), but in many places throughout the codebase the caller needs to check this (i.e. serverGlobalParams.featureCompatibility.isVersionInitialized() &&
gFeatureFlagRequireTenantID.isEnabled(serverGlobalParams.featureCompatibility))
We should investigate if we should always be calling this and can move it into isEnabled()
Edit: SERVER-66482 created isEnabledUseDefaultFCVWhenUninitialized so we should audit usages of isEnabled and see if we can use isEnabledUseDefaultFCVWhenUninitialized instead.
- related to
-
SERVER-79274 fCV checks can be racy if fCV is uninitialized in between the checks
- Closed
-
SERVER-79269 Invariant that we don't check FCV in oplog application
- Open
-
SERVER-79183 [v7.0] Add check if fcv is initialized when checking whether ssccl should act like primary
- Closed
-
SERVER-76575 Check isVersionInitialized() within FCV::isEnabled on older branches
- Closed
-
SERVER-80901 Audit gFeatureFlagServerlessChangeStreams
- Closed