diff options
author | Benety Goh <benety@mongodb.com> | 2019-09-24 21:34:33 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-09-24 21:34:33 +0000 |
commit | b0724d8700474342ca6bb7284919f894d111e0ce (patch) | |
tree | d51e98cf06991baef3adf7a5bf8eca0eab71af66 /src/mongo/db/catalog | |
parent | 65a0a95cdb79d44baa312dacafe17db92093b3ee (diff) | |
download | mongo-b0724d8700474342ca6bb7284919f894d111e0ce.tar.gz |
SERVER-43419 remove unnecessary FCV check from MultiIndexBlock::_unlockRSTLForIndexCleanup()
This check is no longer necessary after the 4.2 check was removed in commit 6a2c556dfaed34e641b64469d1de34dc88d36ec9.
Diffstat (limited to 'src/mongo/db/catalog')
-rw-r--r-- | src/mongo/db/catalog/multi_index_block.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/db/catalog/multi_index_block.cpp b/src/mongo/db/catalog/multi_index_block.cpp index 10c4fe6d485..b0a292ad909 100644 --- a/src/mongo/db/catalog/multi_index_block.cpp +++ b/src/mongo/db/catalog/multi_index_block.cpp @@ -50,7 +50,6 @@ #include "mongo/db/query/collection_query_info.h" #include "mongo/db/repl/repl_set_config.h" #include "mongo/db/repl/replication_coordinator.h" -#include "mongo/db/server_options.h" #include "mongo/db/storage/storage_options.h" #include "mongo/db/storage/write_unit_of_work.h" #include "mongo/logger/redaction.h" @@ -74,9 +73,6 @@ namespace { * acquire the RSTL in mode X. */ void _unlockRSTLForIndexCleanup(OperationContext* opCtx) { - if (!serverGlobalParams.featureCompatibility.isVersionInitialized()) { - return; - } opCtx->lockState()->unlockRSTLforPrepare(); invariant(!opCtx->lockState()->isRSTLLocked()); } |