diff options
author | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2016-05-09 17:29:44 -0400 |
---|---|---|
committer | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2016-08-04 18:10:46 -0400 |
commit | 953a241f6dd1541905a1b6e259140635b80238de (patch) | |
tree | c04703faefd3cfea5e81293fc2952d7e69991a29 /src/mongo/db/repl/replication_coordinator_test_fixture.h | |
parent | 6e3021388b44e1c9fc3f6fd02b554fe0cc5c5c3e (diff) | |
download | mongo-953a241f6dd1541905a1b6e259140635b80238de.tar.gz |
SERVER-23663 New primary syncs from chosen node to catch up with timeout
SERVER-23662 Implement "catch-up timeout" configuration variable
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator_test_fixture.h')
-rw-r--r-- | src/mongo/db/repl/replication_coordinator_test_fixture.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_test_fixture.h b/src/mongo/db/repl/replication_coordinator_test_fixture.h index 6e983aa346d..5ea7a0a6953 100644 --- a/src/mongo/db/repl/replication_coordinator_test_fixture.h +++ b/src/mongo/db/repl/replication_coordinator_test_fixture.h @@ -258,6 +258,11 @@ protected: */ void disableSnapshots(); + /** + * Timeout all freshness scan request for primary catch-up. + */ + void simulateCatchUpTimeout(); + private: std::unique_ptr<ReplicationCoordinatorImpl> _repl; // Owned by ReplicationCoordinatorImpl |