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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/repl/tenant_migration_recipient_service.cpp b/src/mongo/db/repl/tenant_migration_recipient_service.cpp
index 8d569280538..19473158f53 100644
--- a/src/mongo/db/repl/tenant_migration_recipient_service.cpp
+++ b/src/mongo/db/repl/tenant_migration_recipient_service.cpp
@@ -1258,11 +1258,11 @@ void TenantMigrationRecipientService::Instance::_fetchAndStoreDonorClusterTimeKe
while (cursor->more()) {
const auto doc = cursor->nextSafe().getOwned();
keyDocs.push_back(tenant_migration_util::makeExternalClusterTimeKeyDoc(
- _serviceContext, _donorUri.getSetName(), doc));
+ _serviceContext, _migrationUuid, doc));
}
- tenant_migration_util::storeExternalClusterTimeKeyDocsAndRefreshCache(
- _scopedExecutor, std::move(keyDocs), token);
+ tenant_migration_util::storeExternalClusterTimeKeyDocsAndRefreshCache(_scopedExecutor,
+ std::move(keyDocs));
}
void TenantMigrationRecipientService::Instance::_compareRecipientAndDonorFCV() const {