diff options
author | Jason Chan <jason.chan@mongodb.com> | 2021-08-17 23:08:47 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-08-18 19:51:21 +0000 |
commit | 8fdfe55ebd9bd4a9cd982e8eeb6052e6aedc4ccd (patch) | |
tree | 749045ffb7696c45d4fd928454827c8739487b4f /src/mongo/db/commands/tenant_migration_recipient_cmds.cpp | |
parent | 7cb407c0a298cd015f720c51418ef9062c8c602e (diff) | |
download | mongo-8fdfe55ebd9bd4a9cd982e8eeb6052e6aedc4ccd.tar.gz |
SERVER-52936 Remove featureFlagTenantMigration
Diffstat (limited to 'src/mongo/db/commands/tenant_migration_recipient_cmds.cpp')
-rw-r--r-- | src/mongo/db/commands/tenant_migration_recipient_cmds.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mongo/db/commands/tenant_migration_recipient_cmds.cpp b/src/mongo/db/commands/tenant_migration_recipient_cmds.cpp index e4358c99bdd..b18f5b4c013 100644 --- a/src/mongo/db/commands/tenant_migration_recipient_cmds.cpp +++ b/src/mongo/db/commands/tenant_migration_recipient_cmds.cpp @@ -58,11 +58,6 @@ public: using InvocationBase::InvocationBase; Response typedRun(OperationContext* opCtx) { - uassert(ErrorCodes::CommandNotSupported, - "recipientSyncData command not enabled", - repl::feature_flags::gTenantMigrations.isEnabled( - serverGlobalParams.featureCompatibility)); - uassert(ErrorCodes::IllegalOperation, "tenant migrations are not available in sharded clusters", serverGlobalParams.clusterRole == ClusterRole::None); @@ -179,11 +174,6 @@ public: using InvocationBase::InvocationBase; void typedRun(OperationContext* opCtx) { - uassert(ErrorCodes::CommandNotSupported, - "recipientForgetMigration command not enabled", - repl::feature_flags::gTenantMigrations.isEnabled( - serverGlobalParams.featureCompatibility)); - uassert(ErrorCodes::IllegalOperation, "tenant migrations are not available in sharded clusters", serverGlobalParams.clusterRole == ClusterRole::None); |