diff options
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() { |