diff options
author | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2019-01-30 10:32:50 -0500 |
---|---|---|
committer | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2019-01-30 19:09:16 -0500 |
commit | ce59b7d82ef02708ff0852789399aa65f4f41e1d (patch) | |
tree | 063953ffffa63eb19504468d872314a7fd2f5986 /src/mongo/db/db.cpp | |
parent | e311d83680e698ac485271968a6d2355a9438e38 (diff) | |
download | mongo-ce59b7d82ef02708ff0852789399aa65f4f41e1d.tar.gz |
SERVER-39290 Remove startup index recovery redundancies
Diffstat (limited to 'src/mongo/db/db.cpp')
-rw-r--r-- | src/mongo/db/db.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/db/db.cpp b/src/mongo/db/db.cpp index f25199d6523..f678e0b11b6 100644 --- a/src/mongo/db/db.cpp +++ b/src/mongo/db/db.cpp @@ -77,7 +77,6 @@ #include "mongo/db/global_settings.h" #include "mongo/db/index_builds_coordinator_mongod.h" #include "mongo/db/index_names.h" -#include "mongo/db/index_rebuilder.h" #include "mongo/db/initialize_server_global_state.h" #include "mongo/db/initialize_server_security_state.h" #include "mongo/db/initialize_snmp.h" @@ -533,8 +532,6 @@ ExitCode _initAndListen(int listenPort) { startFreeMonitoring(serviceContext); - restartInProgressIndexesFromLastShutdown(startupOpCtx.get()); - if (serverGlobalParams.clusterRole == ClusterRole::ShardServer) { // Note: For replica sets, ShardingStateRecovery happens on transition to primary. if (!repl::ReplicationCoordinator::get(startupOpCtx.get())->isReplEnabled()) { |