summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/op_observer_impl.cpp')
-rw-r--r--src/mongo/db/op_observer_impl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/op_observer_impl.cpp b/src/mongo/db/op_observer_impl.cpp
index bb187fc2149..0aa06762031 100644
--- a/src/mongo/db/op_observer_impl.cpp
+++ b/src/mongo/db/op_observer_impl.cpp
@@ -454,6 +454,7 @@ void OpObserverImpl::onInserts(OperationContext* opCtx,
for (auto iter = first; iter != last; iter++) {
auto operation = MutableOplogEntry::makeInsertOperation(nss, uuid.get(), iter->doc);
+ shardAnnotateOplogEntry(opCtx, nss, iter->doc, operation);
txnParticipant.addTransactionOperation(opCtx, operation);
}
} else {