diff options
author | Rui Liu <rui.liu@mongodb.com> | 2022-01-11 12:35:12 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-01-11 13:30:03 +0000 |
commit | f9c396ab21eb033388a86bd494429966eb138208 (patch) | |
tree | 1e12041ba0cb7b4141658558d447252ea50fcd79 /jstests/replsets/tenant_migration_oplog_view.js | |
parent | 204d6eed96ed5151b1d11b22d128d923b452833f (diff) | |
download | mongo-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.js | 2 |
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, |