diff options
author | Benety Goh <benety@mongodb.com> | 2018-05-03 22:02:59 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2018-05-03 22:02:59 -0400 |
commit | 59510690f9e8779197980d9627a732145a014d98 (patch) | |
tree | 6bf24be8f18a33e4a5018a349a0b3669fc79a0ef /src/mongo/db/repl/initial_syncer.h | |
parent | cf1cb92a0d1c7ca4156cc65e8af440f4a8678219 (diff) | |
download | mongo-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.h | 4 |
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; |