summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/initial_syncer.h
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2018-05-03 22:02:59 -0400
committerBenety Goh <benety@mongodb.com>2018-05-03 22:02:59 -0400
commit59510690f9e8779197980d9627a732145a014d98 (patch)
tree6bf24be8f18a33e4a5018a349a0b3669fc79a0ef /src/mongo/db/repl/initial_syncer.h
parentcf1cb92a0d1c7ca4156cc65e8af440f4a8678219 (diff)
downloadmongo-59510690f9e8779197980d9627a732145a014d98.tar.gz
SERVER-34828 remove unused getSlaveDelay initial sync option
Diffstat (limited to 'src/mongo/db/repl/initial_syncer.h')
-rw-r--r--src/mongo/db/repl/initial_syncer.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/db/repl/initial_syncer.h b/src/mongo/db/repl/initial_syncer.h
index b62be537692..e29a7a97175 100644
--- a/src/mongo/db/repl/initial_syncer.h
+++ b/src/mongo/db/repl/initial_syncer.h
@@ -90,9 +90,6 @@ struct InitialSyncerOptions {
/** Function to sets this node into a specific follower mode. */
using SetFollowerModeFn = stdx::function<bool(const MemberState&)>;
- /** Function to get this node's slaveDelay. */
- using GetSlaveDelayFn = stdx::function<Seconds()>;
-
// Error and retry values
Milliseconds syncSourceRetryWait{1000};
Milliseconds initialSyncRetryWait{1000};
@@ -116,7 +113,6 @@ struct InitialSyncerOptions {
GetMyLastOptimeFn getMyLastOptime;
SetMyLastOptimeFn setMyLastOptime;
ResetOptimesFn resetOptimes;
- GetSlaveDelayFn getSlaveDelay;
SyncSourceSelector* syncSourceSelector = nullptr;