diff options
author | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2019-05-08 23:24:06 -0400 |
---|---|---|
committer | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2019-05-08 23:24:06 -0400 |
commit | fb97757aed27a719ca48e0794f29006dec1a7dac (patch) | |
tree | 1e8b7c11f2f6abd5b6472e9a886294020ee9c13b /src/mongo/db/repl/initial_syncer.cpp | |
parent | 50ad28ae365ad63a83508d708cf2fc0b6f7fa161 (diff) | |
download | mongo-fb97757aed27a719ca48e0794f29006dec1a7dac.tar.gz |
Revert "SERVER-41006 Make replBatchLimitBytes configurable"
This reverts commit e0726e830cca9f4971722616eeb24b56321fe4b8.
Diffstat (limited to 'src/mongo/db/repl/initial_syncer.cpp')
-rw-r--r-- | src/mongo/db/repl/initial_syncer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/initial_syncer.cpp b/src/mongo/db/repl/initial_syncer.cpp index e87bf3915c7..4733e69ea10 100644 --- a/src/mongo/db/repl/initial_syncer.cpp +++ b/src/mongo/db/repl/initial_syncer.cpp @@ -1685,7 +1685,7 @@ StatusWith<Operations> InitialSyncer::_getNextApplierBatch_inlock() { // Obtain next batch of operations from OplogApplier. auto opCtx = makeOpCtx(); OplogApplier::BatchLimits batchLimits; - batchLimits.bytes = OplogApplier::calculateBatchLimitBytes(opCtx.get(), _storage); + batchLimits.bytes = OplogApplier::replBatchLimitBytes; batchLimits.ops = OplogApplier::getBatchLimitOperations(); return _oplogApplier->getNextApplierBatch(opCtx.get(), batchLimits); } |