From ebef2399f1672f50d4990697ee1338c39aa32ed6 Mon Sep 17 00:00:00 2001 From: Christopher Caplinger Date: Fri, 19 Nov 2021 18:10:38 +0000 Subject: SERVER-59793: Omit tenantId from metrics for Merge --- src/mongo/db/commands/tenant_migration_donor_cmds.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mongo/db/commands/tenant_migration_donor_cmds.cpp') diff --git a/src/mongo/db/commands/tenant_migration_donor_cmds.cpp b/src/mongo/db/commands/tenant_migration_donor_cmds.cpp index eaae37b5c3a..20881c3f62c 100644 --- a/src/mongo/db/commands/tenant_migration_donor_cmds.cpp +++ b/src/mongo/db/commands/tenant_migration_donor_cmds.cpp @@ -74,8 +74,8 @@ public: const auto& cmd = request(); const auto migrationProtocol = cmd.getProtocol().value_or(kDefaulMigrationProtocol); - tenant_migration_util::protocolTenantIdCompatibilityCheck(migrationProtocol, - cmd.getTenantId().toString()); + uassertStatusOK(tenant_migration_util::protocolTenantIdCompatibilityCheck( + migrationProtocol, cmd.getTenantId().toString())); TenantMigrationDonorDocument stateDoc(cmd.getMigrationId(), cmd.getRecipientConnectionString().toString(), -- cgit v1.2.1