diff options
author | Alex Taskov <alex.taskov@mongodb.com> | 2020-10-02 11:58:30 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-10-02 23:23:34 +0000 |
commit | 26905cbb74a24626bbbd97ad90cb596e42d7a401 (patch) | |
tree | 80735cd8b25fbc46cf1ae00f2bbccdf48aa86558 /src/mongo/db/s/op_observer_sharding_impl.cpp | |
parent | 3027686e373b074bd4c3acca01b19f7173937cf2 (diff) | |
download | mongo-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.cpp | 2 |
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)); } |