summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/tenant_migration_recipient_cmds.cpp
diff options
context:
space:
mode:
authorJason Chan <jason.chan@mongodb.com>2021-08-17 23:08:47 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-08-18 19:51:21 +0000
commit8fdfe55ebd9bd4a9cd982e8eeb6052e6aedc4ccd (patch)
tree749045ffb7696c45d4fd928454827c8739487b4f /src/mongo/db/commands/tenant_migration_recipient_cmds.cpp
parent7cb407c0a298cd015f720c51418ef9062c8c602e (diff)
downloadmongo-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.cpp10
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);