summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/op_observer_sharding_impl.cpp
diff options
context:
space:
mode:
authorAlex Taskov <alex.taskov@mongodb.com>2020-10-02 11:58:30 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-10-02 23:23:34 +0000
commit26905cbb74a24626bbbd97ad90cb596e42d7a401 (patch)
tree80735cd8b25fbc46cf1ae00f2bbccdf48aa86558 /src/mongo/db/s/op_observer_sharding_impl.cpp
parent3027686e373b074bd4c3acca01b19f7173937cf2 (diff)
downloadmongo-26905cbb74a24626bbbd97ad90cb596e42d7a401.tar.gz
SERVER-49823 Add destined recipient to oplog entries from updates
Diffstat (limited to 'src/mongo/db/s/op_observer_sharding_impl.cpp')
-rw-r--r--src/mongo/db/s/op_observer_sharding_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/op_observer_sharding_impl.cpp b/src/mongo/db/s/op_observer_sharding_impl.cpp
index 60f809ba791..b1e175683cf 100644
--- a/src/mongo/db/s/op_observer_sharding_impl.cpp
+++ b/src/mongo/db/s/op_observer_sharding_impl.cpp
@@ -219,7 +219,7 @@ void OpObserverShardingImpl::shardObserveTransactionPrepareOrUnpreparedCommit(
void OpObserverShardingImpl::shardAnnotateOplogEntry(OperationContext* opCtx,
const NamespaceString nss,
const BSONObj& doc,
- repl::ReplOperation& op) {
+ repl::DurableReplOperation& op) {
op.setDestinedRecipient(getDestinedRecipient(opCtx, nss, doc));
}