summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/replication_coordinator_impl.cpp
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/replication_coordinator_impl.cpp
parentcf1cb92a0d1c7ca4156cc65e8af440f4a8678219 (diff)
downloadmongo-59510690f9e8779197980d9627a732145a014d98.tar.gz
SERVER-34828 remove unused getSlaveDelay initial sync option
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator_impl.cpp')
-rw-r--r--src/mongo/db/repl/replication_coordinator_impl.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_impl.cpp b/src/mongo/db/repl/replication_coordinator_impl.cpp
index 2d6bc35340d..f1305c9d415 100644
--- a/src/mongo/db/repl/replication_coordinator_impl.cpp
+++ b/src/mongo/db/repl/replication_coordinator_impl.cpp
@@ -317,7 +317,6 @@ InitialSyncerOptions createInitialSyncerOptions(
externalState->setGlobalTimestamp(replCoord->getServiceContext(), opTime.getTimestamp());
};
options.resetOptimes = [replCoord]() { replCoord->resetMyLastOpTimes(); };
- options.getSlaveDelay = [replCoord]() { return replCoord->getSlaveDelaySecs(); };
options.syncSourceSelector = replCoord;
options.replBatchLimitBytes = dur::UncommittedBytesLimit;
options.oplogFetcherMaxFetcherRestarts = externalState->getOplogFetcherMaxFetcherRestarts();