summaryrefslogtreecommitdiff
path: root/jstests/replsets/tenant_migration_oplog_view.js
diff options
context:
space:
mode:
authorRui Liu <rui.liu@mongodb.com>2022-01-11 12:35:12 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-01-11 13:30:03 +0000
commitf9c396ab21eb033388a86bd494429966eb138208 (patch)
tree1e12041ba0cb7b4141658558d447252ea50fcd79 /jstests/replsets/tenant_migration_oplog_view.js
parent204d6eed96ed5151b1d11b22d128d923b452833f (diff)
downloadmongo-f9c396ab21eb033388a86bd494429966eb138208.tar.gz
SERVER-61891 Add document key to insert log entry
Diffstat (limited to 'jstests/replsets/tenant_migration_oplog_view.js')
-rw-r--r--jstests/replsets/tenant_migration_oplog_view.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/tenant_migration_oplog_view.js b/jstests/replsets/tenant_migration_oplog_view.js
index 5b010cbea4d..11469ec58e1 100644
--- a/jstests/replsets/tenant_migration_oplog_view.js
+++ b/jstests/replsets/tenant_migration_oplog_view.js
@@ -86,7 +86,7 @@ const collection = session.getDatabase(dbName)[collName];
{query: {_id: "retryableWrite2"}, update: {$inc: {count: 1}}, new: true});
const resultOplogEntry = oplog.find({"o.count": 1}).next();
- const postImageEntry = oplog.find({"o2._id": "retryableWrite2"}).next();
+ const postImageEntry = oplog.find({"op": "u", "o2._id": "retryableWrite2"}).next();
jsTestLog({
"oplog entry": resultOplogEntry,