diff options
author | Vishnu Kaushik <vishnu.kaushik@mongodb.com> | 2021-09-01 21:36:37 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-09-01 22:56:22 +0000 |
commit | 1a0f9486eb228065434d439fc417762c33aab4b7 (patch) | |
tree | dfbae9a0391a1a1f04dddade347e418edb1b030e /src/mongo/db/namespace_string.cpp | |
parent | 41bb7c7fb877f475f73265fe7c811e4e811ad174 (diff) | |
download | mongo-1a0f9486eb228065434d439fc417762c33aab4b7.tar.gz |
SERVER-58344 Remove ServerGlobalParams::FeatureCompatibility and replace references with generated FCV constants
Diffstat (limited to 'src/mongo/db/namespace_string.cpp')
-rw-r--r-- | src/mongo/db/namespace_string.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/namespace_string.cpp b/src/mongo/db/namespace_string.cpp index 6e0868f31c4..0375f5f9900 100644 --- a/src/mongo/db/namespace_string.cpp +++ b/src/mongo/db/namespace_string.cpp @@ -172,7 +172,7 @@ bool NamespaceString::isLegalClientSystemNS( if (coll() == kSystemDotViewsCollectionName) return true; if (currentFCV.isGreaterThanOrEqualTo( - ServerGlobalParams::FeatureCompatibility::Version::kVersion47) && + multiversion::FeatureCompatibilityVersion::kVersion_4_7) && // While this FCV check is being added in 4.9, the namespace was allowed in 4.7 binaries // without an FCV check. isTemporaryReshardingCollection()) { |