summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/session_catalog_migration_source.cpp
diff options
context:
space:
mode:
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