summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/tenant_migration_conflict_info.h
diff options
context:
space:
mode:
authorJason Zhang <jason.zhang@mongodb.com>2021-02-24 21:14:50 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-03-02 00:29:51 +0000
commit8c248bf16a781bd096f1829ab61bed9f5655ad41 (patch)
tree96d4f9bcfa19f1516280ed24cf96068dc93d8d17 /src/mongo/db/repl/tenant_migration_conflict_info.h
parenta22cbaba0634e6d20244b75c94e8e693e961399d (diff)
downloadmongo-8c248bf16a781bd096f1829ab61bed9f5655ad41.tar.gz
SERVER-51774 Ensure the donor's
TenantMigrationCommitted/TenantMigrationAborted write errors don't exceed the max BSON size
Diffstat (limited to 'src/mongo/db/repl/tenant_migration_conflict_info.h')
-rw-r--r--src/mongo/db/repl/tenant_migration_conflict_info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/repl/tenant_migration_conflict_info.h b/src/mongo/db/repl/tenant_migration_conflict_info.h
index e2528a4ccdb..aa7ab16fa5e 100644
--- a/src/mongo/db/repl/tenant_migration_conflict_info.h
+++ b/src/mongo/db/repl/tenant_migration_conflict_info.h
@@ -67,5 +67,6 @@ private:
TenantMigrationAccessBlocker::OperationType _operationType;
};
using TenantMigrationConflictException = ExceptionFor<ErrorCodes::TenantMigrationConflict>;
+using TenantMigrationCommittedException = ExceptionFor<ErrorCodes::TenantMigrationCommitted>;
} // namespace mongo