summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/sharding_ddl_util.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2021-11-30 19:10:32 +0100
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-12-07 12:47:28 +0000
commit7879dd15deaa37f1f3a53a46e9877ef6b03b2f97 (patch)
tree1352fa51b77412f93270f04bab756eadb161b63d /src/mongo/db/s/sharding_ddl_util.cpp
parentd69f240a64dea20ca163a93b6eeb6494ea1e4a24 (diff)
downloadmongo-7879dd15deaa37f1f3a53a46e9877ef6b03b2f97.tar.gz
SERVER-61759 Interrupt and join migrations when allowMigrations is set to false
Diffstat (limited to 'src/mongo/db/s/sharding_ddl_util.cpp')
-rw-r--r--src/mongo/db/s/sharding_ddl_util.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/s/sharding_ddl_util.cpp b/src/mongo/db/s/sharding_ddl_util.cpp
index 09db3271b07..3154339e52c 100644
--- a/src/mongo/db/s/sharding_ddl_util.cpp
+++ b/src/mongo/db/s/sharding_ddl_util.cpp
@@ -416,7 +416,6 @@ void stopMigrations(OperationContext* opCtx,
// version to be bumped), it is safe to be retried.
);
-
try {
uassertStatusOKWithContext(
Shard::CommandResponse::getEffectiveStatus(std::move(swSetAllowMigrationsResult)),