diff options
author | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2017-04-20 15:28:38 -0400 |
---|---|---|
committer | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2017-06-16 13:59:20 -0400 |
commit | 7f509b09e3b17a4e6627fdbd9a46d12611745941 (patch) | |
tree | 5afc1422129f9bedc9ebe73cef14b2d360cc9a7a /src/mongo/db/repl/replication_coordinator_mock.cpp | |
parent | d2749a7c3c325f340df29d9aef3ef62e4125ee08 (diff) | |
download | mongo-7f509b09e3b17a4e6627fdbd9a46d12611745941.tar.gz |
SERVER-26848 Exit catchup mode when not syncing more data.
(cherry picked from commit 4680351e3fe6f8f47c04440f1c5d1232a4ab7b2d)
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator_mock.cpp')
-rw-r--r-- | src/mongo/db/repl/replication_coordinator_mock.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_mock.cpp b/src/mongo/db/repl/replication_coordinator_mock.cpp index f6ee65745fc..0650bf4f886 100644 --- a/src/mongo/db/repl/replication_coordinator_mock.cpp +++ b/src/mongo/db/repl/replication_coordinator_mock.cpp @@ -473,5 +473,9 @@ void ReplicationCoordinatorMock::alwaysAllowWrites(bool allowWrites) { _alwaysAllowWrites = allowWrites; } +Status ReplicationCoordinatorMock::abortCatchupIfNeeded() { + return Status::OK(); +} + } // namespace repl } // namespace mongo |