From d3c0e4ad46fcba5aac61ecec1409e9df6e11f66e Mon Sep 17 00:00:00 2001 From: Pavi Vetriselvan Date: Wed, 19 Jun 2019 14:00:25 -0400 Subject: SERVER-41163 apply operations separately during initial sync commit transaction oplog application --- src/mongo/db/repl/data_replicator_external_state_mock.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mongo/db/repl/data_replicator_external_state_mock.cpp') diff --git a/src/mongo/db/repl/data_replicator_external_state_mock.cpp b/src/mongo/db/repl/data_replicator_external_state_mock.cpp index 322f91a29dc..cbee6637c67 100644 --- a/src/mongo/db/repl/data_replicator_external_state_mock.cpp +++ b/src/mongo/db/repl/data_replicator_external_state_mock.cpp @@ -56,7 +56,9 @@ public: private: void _run(OplogBuffer* oplogBuffer) final {} void _shutdown() final {} - StatusWith _multiApply(OperationContext* opCtx, Operations ops) final { + StatusWith _multiApply(OperationContext* opCtx, + Operations ops, + boost::optional mode) final { return _externalState->multiApplyFn(opCtx, ops, _observer); } -- cgit v1.2.1