summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/migration_source_manager.cpp
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@mongodb.com>2020-08-18 14:34:00 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-08-25 19:10:07 +0000
commit20169d980a7eb60b4ef675cafab70be2c6a80e46 (patch)
tree353a60f09987e65ba879a04b9eeda26ed4467a09 /src/mongo/db/s/migration_source_manager.cpp
parent680eb5a61bc123d021a75b5ec5a997409ec0d36d (diff)
downloadmongo-20169d980a7eb60b4ef675cafab70be2c6a80e46.tar.gz
SERVER-50344 Rename Client methods to clarify that they are about being killed during stepdown
Diffstat (limited to 'src/mongo/db/s/migration_source_manager.cpp')
-rw-r--r--src/mongo/db/s/migration_source_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/migration_source_manager.cpp b/src/mongo/db/s/migration_source_manager.cpp
index fd6c4b296a4..11bce269425 100644
--- a/src/mongo/db/s/migration_source_manager.cpp
+++ b/src/mongo/db/s/migration_source_manager.cpp
@@ -728,7 +728,7 @@ void MigrationSourceManager::_cleanup(bool completeMigration) {
auto newClient = _opCtx->getServiceContext()->makeClient("MigrationCoordinator");
{
stdx::lock_guard<Client> lk(*newClient.get());
- newClient->setSystemOperationKillable(lk);
+ newClient->setSystemOperationKillableByStepdown(lk);
}
AlternativeClientRegion acr(newClient);
auto newOpCtxPtr = cc().makeOperationContext();