summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/insert_group.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/insert_group.cpp')
-rw-r--r--src/mongo/db/repl/insert_group.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/insert_group.cpp b/src/mongo/db/repl/insert_group.cpp
index 5c8f39be097..3c0bd54e25a 100644
--- a/src/mongo/db/repl/insert_group.cpp
+++ b/src/mongo/db/repl/insert_group.cpp
@@ -38,8 +38,8 @@
#include "mongo/bson/bsonobjbuilder.h"
#include "mongo/db/ops/write_ops.h"
+#include "mongo/db/repl/oplog_applier_impl.h"
#include "mongo/db/repl/oplog_entry.h"
-#include "mongo/db/repl/sync_tail.h"
#include "mongo/util/assert_util.h"
#include "mongo/util/log.h"
@@ -127,7 +127,7 @@ StatusWith<InsertGroup::ConstIterator> InsertGroup::groupAndApplyInserts(ConstIt
OplogEntryBatch groupedInsertBatch(it, endOfGroupableOpsIterator);
try {
// Apply the group of inserts by passing in groupedInsertBatch.
- uassertStatusOK(syncApply(_opCtx, groupedInsertBatch, _mode));
+ uassertStatusOK(applyOplogEntryBatch(_opCtx, groupedInsertBatch, _mode));
// It succeeded, advance the oplogEntriesIterator to the end of the
// group of inserts.
return endOfGroupableOpsIterator - 1;