diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2021-11-30 19:10:32 +0100 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-12-07 12:47:28 +0000 |
commit | 7879dd15deaa37f1f3a53a46e9877ef6b03b2f97 (patch) | |
tree | 1352fa51b77412f93270f04bab756eadb161b63d /src/mongo/db/s/sharding_ddl_util.cpp | |
parent | d69f240a64dea20ca163a93b6eeb6494ea1e4a24 (diff) | |
download | mongo-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.cpp | 1 |
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)), |