summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/tenant_migration_recipient_service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/tenant_migration_recipient_service.cpp')
-rw-r--r--src/mongo/db/repl/tenant_migration_recipient_service.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/tenant_migration_recipient_service.cpp b/src/mongo/db/repl/tenant_migration_recipient_service.cpp
index 1ac857ed1f4..39551cbe24e 100644
--- a/src/mongo/db/repl/tenant_migration_recipient_service.cpp
+++ b/src/mongo/db/repl/tenant_migration_recipient_service.cpp
@@ -1096,7 +1096,7 @@ void TenantMigrationRecipientService::Instance::_processCommittedTransactionEntr
AutoGetOplog oplogWrite(opCtx, OplogAccessMode::kWrite);
writeConflictRetry(
- opCtx, "writeDonorCommittedTxnEntry", NamespaceString::kRsOplogNamespace.ns(), [&] {
+ opCtx, "writeDonorCommittedTxnEntry", NamespaceString::kRsOplogNamespace, [&] {
WriteUnitOfWork wuow(opCtx);
// Write the no-op entry and update 'config.transactions'.
@@ -1822,7 +1822,7 @@ SemiFuture<void> TenantMigrationRecipientService::Instance::_markStateDocAsGarba
writeConflictRetry(
opCtx,
"markTenantMigrationRecipientStateDocGarbageCollectable",
- NamespaceString::kTenantMigrationRecipientsNamespace.ns(),
+ NamespaceString::kTenantMigrationRecipientsNamespace,
[&]() {
WriteUnitOfWork wuow(opCtx);
auto oplogSlot = LocalOplogInfo::get(opCtx)->getNextOpTimes(opCtx, 1U)[0];