summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/oplog_applier.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/oplog_applier.cpp')
-rw-r--r--src/mongo/db/repl/oplog_applier.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mongo/db/repl/oplog_applier.cpp b/src/mongo/db/repl/oplog_applier.cpp
index 3f3c527795f..1791f45566a 100644
--- a/src/mongo/db/repl/oplog_applier.cpp
+++ b/src/mongo/db/repl/oplog_applier.cpp
@@ -44,14 +44,19 @@ OplogApplier::OplogApplier(executor::TaskExecutor* executor,
OplogBuffer* oplogBuffer,
Observer* observer,
ReplicationCoordinator* replCoord,
+ ReplicationConsistencyMarkers* consistencyMarkers,
+ StorageInterface* storageInterface,
const OplogApplier::Options& options,
ThreadPool* writerPool)
: _executor(executor),
_oplogBuffer(oplogBuffer),
_observer(observer),
_replCoord(replCoord),
+ _consistencyMarkers(consistencyMarkers),
+ _storageInterface(storageInterface),
_options(options),
- _syncTail(std::make_unique<SyncTail>(_observer, multiSyncApply, writerPool)) {
+ _syncTail(std::make_unique<SyncTail>(
+ _observer, _consistencyMarkers, _storageInterface, multiSyncApply, writerPool)) {
invariant(!options.allowNamespaceNotFoundErrorsOnCrudOps);
invariant(!options.relaxUniqueIndexConstraints);
}