diff options
author | Alex Taskov <alex.taskov@mongodb.com> | 2020-09-29 19:42:59 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-09-30 00:37:23 +0000 |
commit | 253740ba90154d8f9330553f142e177db47f4910 (patch) | |
tree | de65d3ca3d795e0dffc65edda2d1499e14b254a8 /src/mongo/db/repl/oplog.cpp | |
parent | eb2b72cf9c0269f086223d499ac9be8a270d268c (diff) | |
download | mongo-253740ba90154d8f9330553f142e177db47f4910.tar.gz |
SERVER-49822 Add destined recipient to oplog entries from inserts
Diffstat (limited to 'src/mongo/db/repl/oplog.cpp')
-rw-r--r-- | src/mongo/db/repl/oplog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/repl/oplog.cpp b/src/mongo/db/repl/oplog.cpp index 23c148b7f75..c79267245db 100644 --- a/src/mongo/db/repl/oplog.cpp +++ b/src/mongo/db/repl/oplog.cpp @@ -393,6 +393,7 @@ std::vector<OpTime> logInsertOps(OperationContext* opCtx, } oplogEntry.setObject(begin[i].doc); oplogEntry.setOpTime(insertStatementOplogSlot); + oplogEntry.setDestinedRecipient(getDestinedRecipient(opCtx, nss, begin[i].doc)); OplogLink oplogLink; if (i > 0) |