summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/session_catalog_migration_source.cpp
diff options
context:
space:
mode:
authorjannaerin <golden.janna@gmail.com>2022-05-04 19:41:26 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-05-04 21:56:27 +0000
commit2276eedfbdf6a42d9a70986f88b984950be3a251 (patch)
tree014aee56e4660982701b616466f8d8a334eb9813 /src/mongo/db/s/session_catalog_migration_source.cpp
parent248fa79fd395f335724cabd706428ef2cc1e2b84 (diff)
downloadmongo-2276eedfbdf6a42d9a70986f88b984950be3a251.tar.gz
SERVER-66095 Remove TenantId parameter from OplogEntry ctors
Diffstat (limited to 'src/mongo/db/s/session_catalog_migration_source.cpp')
-rw-r--r--src/mongo/db/s/session_catalog_migration_source.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/db/s/session_catalog_migration_source.cpp b/src/mongo/db/s/session_catalog_migration_source.cpp
index 9ad478b522e..8cf20b0f81d 100644
--- a/src/mongo/db/s/session_catalog_migration_source.cpp
+++ b/src/mongo/db/s/session_catalog_migration_source.cpp
@@ -149,13 +149,10 @@ repl::OplogEntry makeOplogEntry(repl::OpTime opTime,
const OperationSessionInfo& sessionInfo,
Date_t wallClockTime,
const std::vector<StmtId>& statementIds) {
- // This code is never expected to run in Serverless, since Serverless does not use chunk
- // migration, and therefore is never expected to pass a tenant id
return {
repl::DurableOplogEntry(opTime, // optime
hash, // hash
opType, // op type
- boost::none, // tenant id
{}, // namespace
boost::none, // uuid
boost::none, // fromMigrate