summaryrefslogtreecommitdiff
path: root/src/mongo/db/service_entry_point_mongod.cpp
diff options
context:
space:
mode:
authorJack Mulrow <jack.mulrow@mongodb.com>2018-01-16 18:24:51 -0500
committerJack Mulrow <jack.mulrow@mongodb.com>2018-01-23 10:46:58 -0500
commitdb941ec5d0b27ddbef1c05abeaa56c3ba6caab99 (patch)
tree14cef5752cb677d885772f41975ef4c15dcdac36 /src/mongo/db/service_entry_point_mongod.cpp
parente1c90a380671fc57a076ab5afbd2fab1ae082220 (diff)
downloadmongo-db941ec5d0b27ddbef1c05abeaa56c3ba6caab99.tar.gz
SERVER-32463 Remove FCV dependent miscellaneous sharding code
Diffstat (limited to 'src/mongo/db/service_entry_point_mongod.cpp')
-rw-r--r--src/mongo/db/service_entry_point_mongod.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/service_entry_point_mongod.cpp b/src/mongo/db/service_entry_point_mongod.cpp
index 1281cc50106..1d6d69d257b 100644
--- a/src/mongo/db/service_entry_point_mongod.cpp
+++ b/src/mongo/db/service_entry_point_mongod.cpp
@@ -683,9 +683,7 @@ void execCommandDatabase(OperationContext* opCtx,
if (!opCtx->getClient()->isInDirectClient() &&
readConcernArgs.getLevel() != repl::ReadConcernLevel::kAvailableReadConcern &&
(iAmPrimary ||
- ((serverGlobalParams.featureCompatibility.getVersion() ==
- ServerGlobalParams::FeatureCompatibility::Version::kFullyUpgradedTo36) &&
- (readConcernArgs.hasLevel() || readConcernArgs.getArgsAfterClusterTime())))) {
+ (readConcernArgs.hasLevel() || readConcernArgs.getArgsAfterClusterTime()))) {
oss.initializeShardVersion(NamespaceString(command->parseNs(dbname, request.body)),
shardVersionFieldIdx);