summaryrefslogtreecommitdiff
path: root/src/mongo/s/sharding_mongod_test_fixture.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2017-08-07 20:18:33 -0400
committerMathias Stearn <mathias@10gen.com>2017-08-07 20:18:33 -0400
commitfd62ac35e27f83155cbe3d60bf02c49f45298e54 (patch)
tree09368db6e56db643e06c0ee97c65b07dc753f9c0 /src/mongo/s/sharding_mongod_test_fixture.cpp
parent9255b0a684c6c9ca35da96493b91f04b832dc792 (diff)
downloadmongo-fd62ac35e27f83155cbe3d60bf02c49f45298e54.tar.gz
Revert "SERVER-29893 Rename recovery code and make it accessible to both startup and rollback"
This reverts commit 8fa770baf8fac6e71a45f84b48eeb3bae96a8dab.
Diffstat (limited to 'src/mongo/s/sharding_mongod_test_fixture.cpp')
-rw-r--r--src/mongo/s/sharding_mongod_test_fixture.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mongo/s/sharding_mongod_test_fixture.cpp b/src/mongo/s/sharding_mongod_test_fixture.cpp
index 453951a1735..3a9fa023b2a 100644
--- a/src/mongo/s/sharding_mongod_test_fixture.cpp
+++ b/src/mongo/s/sharding_mongod_test_fixture.cpp
@@ -51,7 +51,6 @@
#include "mongo/db/repl/replication_coordinator.h"
#include "mongo/db/repl/replication_coordinator_mock.h"
#include "mongo/db/repl/replication_process.h"
-#include "mongo/db/repl/replication_recovery_mock.h"
#include "mongo/db/repl/storage_interface_mock.h"
#include "mongo/db/service_context_noop.h"
#include "mongo/executor/network_interface_mock.h"
@@ -131,11 +130,10 @@ void ShardingMongodTestFixture::setUp() {
repl::DropPendingCollectionReaper::set(
service, stdx::make_unique<repl::DropPendingCollectionReaper>(storagePtr.get()));
- repl::ReplicationProcess::set(service,
- stdx::make_unique<repl::ReplicationProcess>(
- storagePtr.get(),
- stdx::make_unique<repl::ReplicationConsistencyMarkersMock>(),
- stdx::make_unique<repl::ReplicationRecoveryMock>()));
+ repl::ReplicationProcess::set(
+ service,
+ stdx::make_unique<repl::ReplicationProcess>(
+ storagePtr.get(), stdx::make_unique<repl::ReplicationConsistencyMarkersMock>()));
repl::ReplicationProcess::get(_opCtx.get())
->initializeRollbackID(_opCtx.get())
.transitional_ignore();