diff options
author | Christopher Caplinger <christopher.caplinger@mongodb.com> | 2021-11-19 18:10:38 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-11-19 19:03:33 +0000 |
commit | ebef2399f1672f50d4990697ee1338c39aa32ed6 (patch) | |
tree | da50da86cb755c9209fee4291a6e5aed640f3995 /src/mongo/db/commands/tenant_migration_donor_cmds.cpp | |
parent | b0ac4a3fb1790cf868f2258d6f18f07acd539ffc (diff) | |
download | mongo-ebef2399f1672f50d4990697ee1338c39aa32ed6.tar.gz |
SERVER-59793: Omit tenantId from metrics for Merge
Diffstat (limited to 'src/mongo/db/commands/tenant_migration_donor_cmds.cpp')
-rw-r--r-- | src/mongo/db/commands/tenant_migration_donor_cmds.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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(), |