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/service_entry_point_mongod.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/service_entry_point_mongod.cpp')
-rw-r--r-- | src/mongo/db/service_entry_point_mongod.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/service_entry_point_mongod.cpp b/src/mongo/db/service_entry_point_mongod.cpp index 8ad042a17fd..8b85198cd32 100644 --- a/src/mongo/db/service_entry_point_mongod.cpp +++ b/src/mongo/db/service_entry_point_mongod.cpp @@ -216,7 +216,7 @@ public: // TODO: SERVER-58743: Remove following 'if' block. if (auto& fcv = serverGlobalParams.featureCompatibility; !fcv.isVersionInitialized() || - fcv.isLessThan(FeatureCompatibilityParams::Version::kVersion51)) { + fcv.isLessThan(multiversion::FeatureCompatibilityVersion::kVersion_5_1)) { // For commands from mongos, append some info to help getLastError(w) work. rpc::ShardingMetadata(lastOpTimeFromClient, replCoord->getElectionId()) .writeToMetadata(metadataBob) |