diff options
Diffstat (limited to 'src/mongo/s')
-rw-r--r-- | src/mongo/s/mongos_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/mongos_main.cpp b/src/mongo/s/mongos_main.cpp index 28d4e1b79b4..eaaa36b3fa1 100644 --- a/src/mongo/s/mongos_main.cpp +++ b/src/mongo/s/mongos_main.cpp @@ -883,7 +883,7 @@ MONGO_INITIALIZER_WITH_PREREQUISITES(SetFeatureCompatibilityVersionLatest, ("EndStartupOptionStorage")) // (Generic FCV reference): This FCV reference should exist across LTS binary versions. (InitializerContext* context) { - serverGlobalParams.featureCompatibility.setVersion( + serverGlobalParams.mutableFeatureCompatibility.setVersion( ServerGlobalParams::FeatureCompatibility::kLatest); return Status::OK(); } |