diff options
author | Mihai Andrei <mihai.andrei@mongodb.com> | 2019-10-09 17:29:25 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-10-09 17:29:25 +0000 |
commit | 6e136efbd50551965c17116d00e1f3179c039770 (patch) | |
tree | fe0b0edf7a2f9693e885d3a534edcbfb6945800a /src/mongo/db/repl/replication_coordinator_external_state_mock.h | |
parent | e1f433d2c47f623ceb5d1d1aee7605fefb71b846 (diff) | |
download | mongo-6e136efbd50551965c17116d00e1f3179c039770.tar.gz |
Revert SERVER-42996 Move ApplierState to OplogApplier
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator_external_state_mock.h')
-rw-r--r-- | src/mongo/db/repl/replication_coordinator_external_state_mock.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_external_state_mock.h b/src/mongo/db/repl/replication_coordinator_external_state_mock.h index 42378115a1e..5cebab1e820 100644 --- a/src/mongo/db/repl/replication_coordinator_external_state_mock.h +++ b/src/mongo/db/repl/replication_coordinator_external_state_mock.h @@ -36,7 +36,6 @@ #include "mongo/bson/timestamp.h" #include "mongo/db/jsobj.h" #include "mongo/db/repl/last_vote.h" -#include "mongo/db/repl/oplog_applier_impl.h" #include "mongo/db/repl/replication_coordinator_external_state.h" #include "mongo/platform/condition_variable.h" #include "mongo/platform/mutex.h" @@ -100,8 +99,6 @@ public: virtual bool isReadConcernSnapshotSupportedByStorageEngine(OperationContext* opCtx) const; virtual std::size_t getOplogFetcherSteadyStateMaxFetcherRestarts() const override; virtual std::size_t getOplogFetcherInitialSyncMaxFetcherRestarts() const override; - virtual OplogApplier::ApplierState getApplierState() const override; - virtual void setApplierState(const OplogApplier::ApplierState st) override; /** * Adds "host" to the list of hosts that this mock will match when responding to "isSelf" @@ -212,7 +209,6 @@ private: OpTime _firstOpTimeOfMyTerm; double _electionTimeoutOffsetLimitFraction = 0.15; Timestamp _globalTimestamp; - std::unique_ptr<OplogApplier> _oplogApplier; }; } // namespace repl |