diff options
author | Benety Goh <benety@mongodb.com> | 2018-05-15 20:03:26 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2018-05-15 20:03:26 -0400 |
commit | cf339b8a8d8708e8b28747fe0cafee7cc79fe9a6 (patch) | |
tree | 7d0861c729b7a87b8576385688136e34cce9fdc8 /src/mongo/db/repl/initial_syncer.cpp | |
parent | c751a7d30f394fc6daefebfbfe7538db9b1b6c89 (diff) | |
download | mongo-cf339b8a8d8708e8b28747fe0cafee7cc79fe9a6.tar.gz |
SERVER-32335 remove unused batchLimits argument from DataReplicatorExternalState::getNextApplierBatch()
Diffstat (limited to 'src/mongo/db/repl/initial_syncer.cpp')
-rw-r--r-- | src/mongo/db/repl/initial_syncer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/repl/initial_syncer.cpp b/src/mongo/db/repl/initial_syncer.cpp index b79f3540343..0428e858333 100644 --- a/src/mongo/db/repl/initial_syncer.cpp +++ b/src/mongo/db/repl/initial_syncer.cpp @@ -1448,8 +1448,7 @@ StatusWith<Operations> InitialSyncer::_getNextApplierBatch_inlock() { // Access common batching logic in OplogApplier using passthrough function in // DataReplicatorExternalState. auto opCtx = makeOpCtx(); - return _dataReplicatorExternalState->getNextApplierBatch( - opCtx.get(), _oplogBuffer.get(), _opts.batchLimits); + return _dataReplicatorExternalState->getNextApplierBatch(opCtx.get(), _oplogBuffer.get()); } StatusWith<HostAndPort> InitialSyncer::_chooseSyncSource_inlock() { |